Skip to content

Commit 672591f

Browse files
committed
fix: missing support 'region' argument on 'aws_wafv2_rule_group'
1 parent 63ce440 commit 672591f

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

modules/rule-group/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ resource "aws_wafv2_rule_group" "this" {
22
name = var.name
33
description = var.description
44
scope = var.scope
5+
region = var.region
56
capacity = var.capacity
67
tags = var.tags
78

modules/rule-group/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
1723
variable "capacity" {
1824
description = "(Required, Forces new resource) The web ACL capacity units (WCUs) required for this rule group."
1925
type = number

0 commit comments

Comments
 (0)