vars.tf 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. variable "tags" {
  2. description = "Tags to add to the resource (in addition to global standard tags)"
  3. type = map(any)
  4. default = {}
  5. }
  6. variable "accept_invitation" {
  7. description = "Whether to accept the sharing invitation. Only done once per account."
  8. type = bool
  9. }
  10. variable "share_arn" {
  11. description = "The ARN of the share to accept."
  12. type = string
  13. default = ""
  14. }
  15. variable "tgw_id" {
  16. description = "Transit Gateway ID"
  17. type = string
  18. }
  19. variable "vpc_id" {
  20. description = "VPC ID of the client"
  21. type = string
  22. }
  23. variable "subnets" {
  24. description = "List of subnets, one per AZ in the VPC"
  25. type = list(any)
  26. }
  27. variable "route_tables" {
  28. description = "List of route tables to be routed to the TGW"
  29. type = list(any)
  30. }
  31. # ----------------------------------
  32. # Below this line are variables inherited from higher levels, so they
  33. # do not need to be explicitly passed to this module.
  34. # ----------------------------------
  35. # Required for remote state, though they can be used elsewhere
  36. variable "remote_state_bucket" { type = string }