diff --git a/profiles/base/main.tf b/profiles/base/main.tf index f3da8a2..de0bf22 100644 --- a/profiles/base/main.tf +++ b/profiles/base/main.tf @@ -66,6 +66,10 @@ module "fd_waf_acl" { count = var.deploy_waf_rule ? 1 : 0 source = "../../modules/cloudfront/waf" + providers = { + aws = aws.east + } + logging_bucket_name = var.deploy_log_archive ? module.filmdrop_log_archive[0].s3_logs_archive_bucket : var.s3_logs_archive_bucket whitelist_ips = var.whitelist_ips ip_blocklist = var.ip_blocklist diff --git a/profiles/base/providers.tf b/profiles/base/providers.tf index d782dd6..4d4e2cf 100644 --- a/profiles/base/providers.tf +++ b/profiles/base/providers.tf @@ -4,6 +4,9 @@ terraform { aws = { source = "hashicorp/aws" version = "~> 5.22" + configuration_aliases = [ + aws.east + ] } } } diff --git a/profiles/core/main.tf b/profiles/core/main.tf index 6128106..f354e40 100644 --- a/profiles/core/main.tf +++ b/profiles/core/main.tf @@ -1,6 +1,10 @@ module "base_infra" { source = "../base" + providers = { + aws.east = aws.east + } + deploy_vpc = var.deploy_vpc deploy_vpc_search = var.deploy_vpc_search deploy_alarms = var.deploy_alarms