globals.hcl 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. "12.245.107.250/32", # DPS Office Legato
  12. "12.204.167.162/32", # DPS Office San Antonio
  13. "54.86.98.62/32", # DPS AWS User VPN
  14. "75.138.227.80/32", # Duane Waddle
  15. "24.11.231.98/32", # George Starcher
  16. "99.151.37.185/32", # Wesley Leonard
  17. "70.106.200.157/32", # John Reuther
  18. "108.243.20.48/32", # Ryan Plas
  19. "73.10.53.113/32", # Rick Page Home
  20. "50.21.207.50/32", # Brad Poulton
  21. "70.160.60.248/32", # Brandon Naughton
  22. "173.71.212.4/32", # Ryan Howard
  23. "99.56.213.129/32", # Fred Damstra
  24. "97.117.78.121/32", # Colby Williams
  25. ]
  26. portal_test_whitelist = local.trusted_ips # for now, an alias
  27. #Customer External IPs
  28. #To increase flexibility and to provide better documentation,
  29. #break up the IPs based on on-prem and not on-prem.
  30. #### AFS ON-PREM POP ####
  31. afs_pop = [
  32. "170.248.172.0/23",
  33. ]
  34. # AFS Azure POP external IPs
  35. afs_azure_pop = [
  36. "20.190.250.137/32", # EastUS2_External_Access
  37. "52.232.227.197/32", # Azure US-East Palo
  38. "52.185.64.173/32", # CentralUS_External_Access
  39. "52.242.225.98/32", # Azure US-Central Palo 20200721
  40. "52.177.84.83/32", # Lab_External_Access
  41. ]
  42. #### NGA ####
  43. nga_pop = [
  44. "199.16.64.3/32"
  45. ]
  46. xdr_interconnect = [
  47. "18.252.61.218/32",
  48. "18.252.67.171/32",
  49. "18.253.123.98/32",
  50. "18.253.98.90/32",
  51. ]
  52. dns_zone_map = {
  53. "accenturefederalcyber.com" = "Z03575081VGXN3FUZ8ERU"
  54. "accenturefederalcyber.net" = "Z07771312N8X39HKP141M"
  55. "xdr.accenturefederalcyber.com" = "Z0083657A94URZM2TM87"
  56. "xdrtest.accenturefederalcyber.com" = "Z01677392W0QM639KU2KC"
  57. }
  58. repo_server_whitelist = concat(
  59. local.trusted_ips,
  60. local.afs_pop,
  61. local.afs_azure_pop,
  62. local.nga_pop,
  63. [ "52.179.13.17/32", #???
  64. "75.138.227.80/32", #???
  65. ],
  66. local.xdr_interconnect
  67. )
  68. key_pairs = {
  69. # Should be your username -> key pair
  70. "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",
  71. "fdamstra" = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDF3pGU9+HufgfEhPP7P0Lt7kqfGWLTGd6sfJgSypcSo3FP1XhwFOWkaNvZIpoIeQXhux5vTm+RoqYZ/3Gj7hcGMLdoHWArvLHD2AGjxbFnsmiCioQgsC/rYLBjiWNsDdVF5Arofby/RwzivMAi7yivhY4nGzXPsHZoucB0Wi34/9AmxbvXWv6ckuWkMjrXVe+uwFje3U7jQHRW9jQRpCRRfUjVA4FmH0PWqWFBlt/zqsDPOzbxNNhAvyrJho7jVBNjCLsq0++lT8BDKrYbaZiT0F2c9uIDRpHJSdjpqVCf9bghmeJWYMoNHAkGR7WCFjPCJ7QM57a2oRBtm1A/EWcr",
  72. }
  73. # Some sane defaults we don't want to specify everywhere
  74. is_legacy = false # By default, accounts are not legacy accounts
  75. extra_ebs_key_admins = [ ]
  76. extra_ebs_key_users = [ ]
  77. extra_ebs_key_attachers = [ ]
  78. }