variables.j 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. {% import 'variables.include' as var %}
  2. # User Settings
  3. # -------------
  4. # These MUST be configured
  5. variable "AWS-Key-Pair-Name" {
  6. description = "Name of the keypair in AWS"
  7. type = string
  8. default = "{{ var.AWS_Key_Pair_Name }}"
  9. }
  10. variable "Private-Key-File" {
  11. description = "The name of the file containing your private key"
  12. type = string
  13. default = "{{ var.Private_Key_File }}"
  14. }
  15. variable "Domain-Name" {
  16. description = "Your domain name (hosted in Route53)"
  17. type = string
  18. default = "{{ var.Domain_Name }}"
  19. }
  20. variable "Domain-Zone-ID" {
  21. description = "The Zone ID of the Domain-Name in Route53"
  22. type = string
  23. default = "{{ var.Domain_Zone_ID }}"
  24. }
  25. variable "Trusted-CIDR" {
  26. description = "Trusted source addresses in CIDR notation."
  27. type = list
  28. default = {{ var.Trusted_CIDR }}
  29. }
  30. # Common Settings
  31. # ---------------
  32. # You may wish to customize these, but defaults
  33. # will usually work.
  34. variable "region" {
  35. description = "Which AWS region do you wish to deploy to?"
  36. type = string
  37. default = "{{ var.AWS_Region }}"
  38. }
  39. variable "VPC-Subnet" {
  40. description = "The full subnet for your VPC (to be split into 2 subnets)"
  41. type = string
  42. default = "10.66.0.0/16"
  43. }
  44. variable "Honeypot-Subnet" {
  45. description = "The CIDR for the Honeypot subnet. Must be a subnet of VPC-Subnet"
  46. type = string
  47. default = "10.66.0.0/24"
  48. }
  49. variable "Honeypot-IP-Secured" {
  50. description = "The private IP for the secured interface. Note that this must be greater than that of the secured interface."
  51. type = string
  52. default = "10.66.0.20"
  53. }
  54. variable "Honeypot-IP-Unsecured" {
  55. description = "The private IP for the unsecured interace."
  56. type = string
  57. default = "10.66.0.10"
  58. }
  59. variable "Splunk-Subnet" {
  60. description = "The CIDR for the Splunk subnet. Must be a subnet of VPC-Subnet"
  61. type = string
  62. default = "10.66.1.0/24"
  63. }
  64. variable "Splunk-IP" {
  65. description = "The IP for the Splunk instance."
  66. type = string
  67. default = "10.66.1.10"
  68. }
  69. # Performance Settings
  70. # --------------------
  71. # Defaults are probably fine, but if you want to change
  72. # your performance, here's where you can tune.
  73. variable "Honeypot-Instance-Type" {
  74. description = "What size instances do you want to deploy?"
  75. type = string
  76. #default = "t2.micro"
  77. default = "t3.2xlarge"
  78. }
  79. variable "Splunk-Instance-Type" {
  80. description = "What size instances do you want to deploy?"
  81. type = string
  82. default = "t3.2xlarge"
  83. #default = "t2.micro"
  84. }
  85. variable "EBS-Optimized" {
  86. description = "Should instances be deployed as EBS optimized?"
  87. type = string
  88. #default = false
  89. default = true
  90. }
  91. variable "Honeypot-Volume-Size" {
  92. description = "How much swap do you need?"
  93. type = string
  94. default = 10
  95. }
  96. variable "Splunk-Volume-Size" {
  97. description = "How much swap do you need?"
  98. type = string
  99. default = 10
  100. }
  101. variable "Swap-Volume-Size" {
  102. description = "How much swap do you need?"
  103. type = string
  104. default = 2
  105. }
  106. variable "Swap-Volume-Type" {
  107. description = "Type of storage for the swap volume."
  108. type = string
  109. default = "gp2"
  110. }
  111. variable "Default-Volume-Type" {
  112. description = "Type of storage for the default volumes."
  113. type = string
  114. default = "gp2"
  115. }