globals.hcl 3.8 KB

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