File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed
Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -12347,6 +12347,7 @@ resource "aws_wafv2_web_acl" "this" {
1234712347resource "aws_wafv2_web_acl_association" "this" {
1234812348 count = var.enabled_web_acl_association ? length(var.resource_arn) : 0
1234912349
12350+ region = var.region
1235012351 resource_arn = var.resource_arn[count.index]
1235112352 web_acl_arn = aws_wafv2_web_acl.this.arn
1235212353
@@ -12356,6 +12357,7 @@ resource "aws_wafv2_web_acl_association" "this" {
1235612357resource "aws_wafv2_web_acl_logging_configuration" "this" {
1235712358 count = var.enabled_logging_configuration ? 1 : 0
1235812359
12360+ region = var.region
1235912361 log_destination_configs = [var.log_destination_configs]
1236012362 resource_arn = aws_wafv2_web_acl.this.arn
1236112363
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ resource "aws_wafv2_ip_set" "this" {
22 name = var. name
33 description = var. description
44 scope = var. scope
5+ region = var. region
56 ip_address_version = var. ip_address_version
67 addresses = var. addresses
78 tags = var. tags
Original file line number Diff line number Diff line change @@ -14,6 +14,12 @@ variable "scope" {
1414 type = string
1515}
1616
17+ variable "region" {
18+ description = " (Optional) Region where this resource will be managed. Defaults to the Region set in the provider configuration."
19+ type = string
20+ default = null
21+ }
22+
1723variable "ip_address_version" {
1824 description = " (Required) Specify IPV4 or IPV6. Valid values are IPV4 or IPV6."
1925 type = string
You can’t perform that action at this time.
0 commit comments