|
@@ -1,24 +1,38 @@
|
|
|
module "all_regions-us-east-2" {
|
|
|
- source = "./all_regions"
|
|
|
+ source = "./security_account.all_regions"
|
|
|
+ providers = {
|
|
|
+ aws = "aws.fcm-security-account-us-east-2"
|
|
|
+ aws.fcm-security-account = "aws"
|
|
|
+ }
|
|
|
+
|
|
|
security_account = "${data.aws_caller_identity.current.account_id}"
|
|
|
security_region = "${data.aws_region.current.name}"
|
|
|
-
|
|
|
dest_region = "us-east-2"
|
|
|
}
|
|
|
|
|
|
module "all_regions-us-east-1" {
|
|
|
- source = "./all_regions"
|
|
|
+ source = "./security_account.all_regions"
|
|
|
+
|
|
|
+ providers = {
|
|
|
+ aws = "aws.fcm-security-account-us-east-1"
|
|
|
+ aws.fcm-security-account = "aws"
|
|
|
+ }
|
|
|
+
|
|
|
security_account = "${data.aws_caller_identity.current.account_id}"
|
|
|
security_region = "${data.aws_region.current.name}"
|
|
|
-
|
|
|
dest_region = "us-east-1"
|
|
|
}
|
|
|
|
|
|
module "all_regions_us-west-1" {
|
|
|
- source = "./all_regions"
|
|
|
+ source = "./security_account.all_regions"
|
|
|
+
|
|
|
+ providers = {
|
|
|
+ aws = "aws.fcm-security-account-us-west-1"
|
|
|
+ aws.fcm-security-account = "aws"
|
|
|
+ }
|
|
|
+
|
|
|
security_account = "${data.aws_caller_identity.current.account_id}"
|
|
|
security_region = "${data.aws_region.current.name}"
|
|
|
-
|
|
|
dest_region = "us-west-1"
|
|
|
}
|
|
|
|