variables.tf 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. ###############################################
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # This file is generated through 'make all'.
  5. # If you need to make changes, make your changes
  6. # to the corresponding .j file and then rerun
  7. # make all
  8. ###############################################
  9. # User Settings
  10. # -------------
  11. # These MUST be configured
  12. variable "AWS-Key-Pair-Name" {
  13. description = "Name of the keypair in AWS"
  14. type = "string"
  15. default = "Fred-IO"
  16. }
  17. variable "Private-Key-File" {
  18. description = "The name of the file containing your private key"
  19. type = "string"
  20. default = "~/.ssh/id_rsa"
  21. }
  22. variable "Domain-Name" {
  23. description = "Your domain name (hosted in Route53)"
  24. type = "string"
  25. default = "monkeybox.org"
  26. }
  27. variable "Domain-Zone-ID" {
  28. description = "The Zone ID of the Domain-Name in Route53"
  29. type = "string"
  30. default = "Z49JKEQC08KW8"
  31. }
  32. variable "Trusted-CIDR" {
  33. description = "Trusted source addresses in CIDR notation."
  34. type = "list"
  35. default = ["98.243.254.99/32", "107.135.34.113/32"]
  36. }
  37. # Common Settings
  38. # ---------------
  39. # You may wish to customize these, but defaults
  40. # will usually work.
  41. variable "region" {
  42. description = "Which AWS region do you wish to deploy to?"
  43. type = "string"
  44. default = "us-east-2"
  45. }
  46. variable "VPC-Subnet" {
  47. description = "The full subnet for your VPC (to be split into 4 subnets)"
  48. type = "string"
  49. default = "10.45.0.0/16"
  50. }
  51. variable "Public-Subnet-A" {
  52. description = "The CIDR for the PubA subnet. Must be a subnet of VPC-Subnet"
  53. type = "string"
  54. default = "10.45.0.0/24"
  55. }
  56. variable "Public-Subnet-B" {
  57. description = "The CIDR for the PubA subnet. Must be a subnet of VPC-Subnet"
  58. type = "string"
  59. default = "10.45.1.0/24"
  60. }
  61. variable "Private-Subnet-A" {
  62. description = "The CIDR for the PubA subnet. Must be a subnet of VPC-Subnet"
  63. type = "string"
  64. default = "10.45.128.0/24"
  65. }
  66. variable "Private-Subnet-B" {
  67. description = "The CIDR for the PubA subnet. Must be a subnet of VPC-Subnet"
  68. type = "string"
  69. default = "10.45.129.0/24"
  70. }
  71. # Performance Settings
  72. # --------------------
  73. # Defaults are probably fine, but if you want to change
  74. # your performance, here's where you can tune.
  75. variable "Instance-Type" {
  76. description = "What size instances do you want to deploy?"
  77. type = "string"
  78. default = "t2.micro"
  79. }
  80. variable "EBS-Optimized" {
  81. description = "Should instances be deployed as EBS optimized?"
  82. type = "string"
  83. default = false
  84. }
  85. variable "Swap-Volume-Size" {
  86. description = "How much swap do you need?"
  87. type = "string"
  88. default = 2
  89. }
  90. variable "Swap-Volume-Type" {
  91. description = "Type of storage for the swap volume."
  92. type = "string"
  93. default = "gp2"
  94. }
  95. variable "Default-Volume-Type" {
  96. description = "Type of storage for the default volumes."
  97. type = "string"
  98. default = "gp2"
  99. }