child_accounts.all_regions.tf 836 B

12345678910111213141516171819202122232425262728293031323334
  1. # Run the child account module for each additional profile
  2. module "child-monkeybox-test1-us-east-2" {
  3. source = "./child_accounts.all_regions"
  4. providers = {
  5. aws = "aws.monkeybox-test1-us-east-2"
  6. aws.fcm-security-account = "aws"
  7. }
  8. security_account = "${data.aws_caller_identity.current.account_id}"
  9. }
  10. module "child-monkeybox-test1-us-east-1" {
  11. source = "./child_accounts.all_regions"
  12. providers = {
  13. aws = "aws.monkeybox-test1-us-east-1"
  14. aws.fcm-security-account = "aws"
  15. }
  16. security_account = "${data.aws_caller_identity.current.account_id}"
  17. }
  18. module "child-monkeybox-test1-us-west-1" {
  19. source = "./child_accounts.all_regions"
  20. providers = {
  21. aws = "aws.monkeybox-test1-us-west-1"
  22. aws.fcm-security-account = "aws"
  23. }
  24. security_account = "${data.aws_caller_identity.current.account_id}"
  25. }