globals.hcl 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. # Set common variables for everything. This is automatically pulled in in the root terragrunt.hcl configuration to
  2. # feed forward to the child modules.
  3. locals {
  4. remote_state_bucket = "afsxdr-terraform-state" # Could be moved to environment/partition.
  5. binaries_bucket = "afsxdr-binaries" # Storage for binaries
  6. global_tags = {
  7. "Snapshot" = "Daily", # This will put it on some things where it doesn't belong, but seems useful overall
  8. #"Last_Updated" = timestamp() # while this is cool, its usefulness does not warrant the constant updates.
  9. }
  10. trusted_ips = [ # IPs for 'permissive' ingress. Used for the bastion host and for testing. Think twice before employing.
  11. "108.203.37.38/32", # Duane Waddle
  12. "24.11.231.98/32", # George Starcher
  13. "99.151.37.185/32", # Wesley Leonard
  14. "73.10.53.113/32", # Rick Page Home
  15. "74.211.32.26/32", # Brad Poulton
  16. "70.160.60.248/32", # Brandon Naughton
  17. "99.56.213.129/32", # Fred Damstra
  18. #"76.173.128.126/32", # Jeremy Cooper
  19. "97.117.83.215/32", # Colby Williams
  20. "18.253.178.104/32", # Test VPN NAT GW
  21. "18.253.116.210/32", # Prod VPN NAT GW
  22. ]
  23. portal_test_whitelist = [ # IPs for Portal Test and vmray
  24. "12.245.107.250/32", # DPS Office Legato
  25. "12.204.167.162/32", # DPS Office San Antonio
  26. "54.86.98.62/32", # DPS AWS User VPN
  27. "108.203.37.38/32", # Duane Waddle
  28. "24.11.231.98/32", # George Starcher
  29. "99.151.37.185/32", # Wesley Leonard
  30. "73.10.53.113/32", # Rick Page Home
  31. "74.211.32.26/32", # Brad Poulton
  32. "70.160.60.248/32", # Brandon Naughton
  33. "99.56.213.129/32", # Frederick Damstra
  34. "97.117.83.215/32", # Colby Williams
  35. #"76.173.128.126/32", # Jeremy Cooper
  36. "73.213.108.186/32", # LaDonia Wicks
  37. ]
  38. admin_ips = [
  39. "108.28.25.119/32", # James Kerr Home
  40. "73.10.53.113/32", # Rick Page Home
  41. "99.151.37.185/32", # Wesley Leonard Home
  42. "74.211.32.26/32", # Brad Poulton Home
  43. "104.9.149.90/32", # Greg Rivas Home
  44. "100.4.76.3/32", # Brandon Naughton Home
  45. "170.248.173.247/32", # AFS site
  46. "170.248.173.245/32", # AFS site
  47. "107.207.74.118/32", # Angelita Crawley Home
  48. "69.207.192.131/32", # Aaron Flores Home
  49. "70.120.19.33/32", # Hilda Colon-Martinez Home
  50. "198.13.82.11/32", # Hussein Carrenard Home
  51. "136.226.18.198/32", # Jose Alvarez Home
  52. ]
  53. # from https://config.zscaler.com/zscalergov.net/cenr
  54. zscalar_ips = [
  55. "165.225.3.0/24",
  56. "136.226.10.0/23",
  57. "136.226.12.0/23",
  58. "136.226.14.0/23",
  59. "165.225.46.0/24",
  60. "136.226.6.0/23",
  61. "136.226.4.0/23",
  62. "136.226.8.0/23",
  63. "136.226.22.0/24",
  64. "165.225.48.0/24",
  65. "136.226.18.0/23",
  66. "136.226.16.0/23",
  67. "136.226.20.0/23",
  68. ]
  69. # Customer External IPs
  70. # To increase flexibility and to provide better documentation,
  71. # break up the IPs based on on-prem and not on-prem.
  72. #
  73. # All of the "external" things that need access to publically
  74. # available C2 services, like Salt Masters, Repo Servers
  75. #
  76. # Structure is a list of maps, and the "description" value in the
  77. # map must be unique across the whole list or it will cause an error.
  78. #
  79. c2_services_external_ips = [
  80. {
  81. description = "Test LCPs"
  82. cidr_blocks = [
  83. "18.252.65.137/32", # Test LCP in Govcloud (EIP in common-services-gov)
  84. "54.224.56.231/32", # Test LCP in Commercial (EIP in common-services)
  85. ]
  86. },
  87. {
  88. description = "NGA"
  89. cidr_blocks = [
  90. "199.16.64.3/32", # NGA
  91. ]
  92. },
  93. {
  94. description = "AFS OnPrem"
  95. cidr_blocks = [
  96. "170.248.172.0/23", # AFS Onprem
  97. ]
  98. },
  99. {
  100. description = "AFS Azure"
  101. cidr_blocks = [
  102. "20.190.250.137/32", # EastUS2_External_Access
  103. "52.232.227.197/32", # Azure US-East Palo
  104. "52.185.64.173/32", # CentralUS_External_Access
  105. "52.242.225.98/32", # Azure US-Central Palo 20200721
  106. "52.177.84.83/32", # Lab_External_Access
  107. ]
  108. },
  109. {
  110. description = "BAS-Commerce CMPS"
  111. cidr_blocks = [
  112. "52.61.137.158/32", # 2021-04-06 From Daniel Dicke <daniel.dicke@asmr.com>
  113. "52.61.70.43/32", # 2021-04-15 yanked from VPC flow logs
  114. ]
  115. },
  116. {
  117. description = "FRTIB VDI"
  118. cidr_blocks = [
  119. "52.61.113.202/32", # 2021-04-15 From Brian Nguyen brian.a.nguyen@accenturefederal.com
  120. ]
  121. },
  122. {
  123. description = "FRTIB CMPS"
  124. cidr_blocks = [
  125. "15.200.226.57/32", # 2021-07-12 From Brian Nguyen brian.a.nguyen@accenturefederal.com
  126. ]
  127. },
  128. {
  129. description = "FRTIB ALIGHT"
  130. cidr_blocks = [
  131. "54.205.60.17/32", # 2021-05-04 From John Conrad john.conrad.2@alight.com
  132. "52.206.203.98/32",
  133. "34.233.188.131/32",
  134. ]
  135. },
  136. {
  137. description = "FRTIB ALIGHT 2"
  138. cidr_blocks = [
  139. "34.214.247.125/32", # 2022-01-20 From John Conrad john.conrad.2@alight.com
  140. "44.235.174.214/32",
  141. "52.89.203.9/32",
  142. ]
  143. },
  144. {
  145. description = "CA-C19"
  146. cidr_blocks = [
  147. "34.223.59.103/32", # 2021-05-04 From Wes Leonard
  148. "44.234.190.14/32",
  149. "44.228.141.151/32",
  150. "18.215.158.202/32", # 2022-01-03 From Ben Troglia
  151. "54.234.108.195/32",
  152. "34.228.38.91/32",
  153. ]
  154. },
  155. {
  156. description = "DGI"
  157. cidr_blocks = [
  158. "3.32.175.159/32", # 2021-06-24 From Angelita Crawley MSOCI-1776
  159. "15.200.13.143/32",
  160. ]
  161. },
  162. {
  163. description = "FRTIB Chaos test us-east-1"
  164. cidr_blocks = [
  165. "3.221.245.113/32",
  166. "34.237.100.242/32",
  167. "35.172.75.107/32",
  168. "54.164.205.89/32",
  169. "54.209.105.32/32",
  170. "54.224.69.136/32",
  171. ]
  172. },
  173. {
  174. description = "FRTIB Chaos prod us-east-1"
  175. cidr_blocks = [
  176. "34.237.183.65/32",
  177. "34.227.214.27/32",
  178. "3.232.76.136/32",
  179. ]
  180. },
  181. ]
  182. dns_zone_map = {
  183. "accenturefederalcyber.com" = "Z03575081VGXN3FUZ8ERU"
  184. "accenturefederalcyber.net" = "Z07771312N8X39HKP141M"
  185. "xdr.accenturefederalcyber.com" = "Z0083657A94URZM2TM87"
  186. "xdrtest.accenturefederalcyber.com" = "Z01677392W0QM639KU2KC"
  187. }
  188. repo_server_whitelist = concat(
  189. ["52.179.13.17/32", #???
  190. ],
  191. )
  192. key_pairs = {
  193. # Should be your username -> key pair
  194. "msoc-build" = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDv8N5N/ECQNKdqZKmjQqGkPiAtJc3WmWdpcZmhxUfplGRFW0IlHGH/wPUgkXXg+djWNpMyT+bqWI8B4Q18uw0Y+w09lN+F1t/vp2GNPYyIPHTGbr2u/r5RCuPXc5Gg6ogkneyAipPCPAhBRbvPaFtfLSJ94ba01LoFs4xgCIZXetr/3ql61OlLyB8vb8FohpW/7u32zzOVJwObA+QlDrRgivaYpwNBxd+No9HEz29dUVFMsKb3ko0GpBuu4pptbj73XxP0EeodMj0hee0FH4kEkZy80LVbg2WeTsq6Mi/FRZmeGt5f3oZEcfflGqYOPA4FmhTrc9O9pp36DDOGts79TeZ6abky+a0jRJQvaeN8x8DZ6PQXfVGpOrNst5zw0Z9EP3ZrFAkX6CYfZkckq0h5Fs+rcWLeUfM/ppZqcyNBDys7zxjFNdmWk86pgn+XvdCVIlsp99B6CzgDoAJkay09ROVqh39HTK7m2aKZoyFWZvUpaqUOlLkOb47bMQzIBSp8Yaoo4PozSg0lQOzkJl3JTR0OZksbeN0pFKY4qNcUcpgUU5mVYs5SXWAOsih51kC5s+0F6Uxt+iDjT9ASaF1O+Bl46UnhpwrtN4ckpHsFnp58mdfhJCUMjt6PX+UPxjRlSL21EkjGALybG2C0gPuoGo0x5bEsZl/gFrFJ+3r6gQ== MSOC Build Key",
  195. "fdamstra" = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDF3pGU9+HufgfEhPP7P0Lt7kqfGWLTGd6sfJgSypcSo3FP1XhwFOWkaNvZIpoIeQXhux5vTm+RoqYZ/3Gj7hcGMLdoHWArvLHD2AGjxbFnsmiCioQgsC/rYLBjiWNsDdVF5Arofby/RwzivMAi7yivhY4nGzXPsHZoucB0Wi34/9AmxbvXWv6ckuWkMjrXVe+uwFje3U7jQHRW9jQRpCRRfUjVA4FmH0PWqWFBlt/zqsDPOzbxNNhAvyrJho7jVBNjCLsq0++lT8BDKrYbaZiT0F2c9uIDRpHJSdjpqVCf9bghmeJWYMoNHAkGR7WCFjPCJ7QM57a2oRBtm1A/EWcr",
  196. }
  197. # Sensu Thresholds
  198. sensu_checks = {
  199. "dns" : {
  200. "warning" : "5.0", # warn if no resolution for 5 seconds
  201. "critical" : "10.0" # critical if no resolution for 10 seconds
  202. },
  203. }
  204. # Some sane defaults we don't want to specify everywhere
  205. is_legacy = false # By default, accounts are not legacy accounts
  206. extra_ebs_key_admins = []
  207. extra_ebs_key_users = []
  208. extra_ebs_key_attachers = []
  209. }