Skip to content

Commit

Permalink
Fixing waf region (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
hectormachin authored Sep 13, 2024
1 parent 902e1f0 commit b4eca51
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions profiles/base/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions profiles/base/providers.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ terraform {
aws = {
source = "hashicorp/aws"
version = "~> 5.22"
configuration_aliases = [
aws.east
]
}
}
}
4 changes: 4 additions & 0 deletions profiles/core/main.tf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b4eca51

Please sign in to comment.