vars.tf 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. variable "tags" {
  2. description = "Tags to add to the resource (in addition to global standard tags)"
  3. type = map
  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
  26. }
  27. variable route_tables {
  28. description = "List of route tables to be routed to the TGW"
  29. type = list
  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. variable "standard_tags" {
  35. type = map
  36. }
  37. variable "aws_partition_alias" {
  38. type = string
  39. }
  40. variable "environment" {
  41. type = string
  42. }
  43. variable "aws_account_id" {
  44. type = string
  45. }
  46. # ----------------------------------
  47. # Required for remote state, though they can be used elsewhere
  48. variable "remote_state_bucket" {
  49. type = string
  50. }
  51. variable "aws_region" {
  52. type = string
  53. }
  54. variable "aws_partition" {
  55. type = string
  56. }
  57. variable "common_services_account" {
  58. type = string
  59. }
  60. variable "common_profile" {
  61. type = string
  62. }