Skip to content

Commit a4c66bd

Browse files
committed
Update variables
1 parent 3321b71 commit a4c66bd

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ In order to run all checks at any point run the following command:
6666

6767
| Name | Source | Version |
6868
|------|--------|---------|
69-
| <a name="module_ecs-alb"></a> [ecs-alb](#module\_ecs-alb) | cn-terraform/ecs-alb/aws | 1.0.24 |
69+
| <a name="module_ecs-alb"></a> [ecs-alb](#module\_ecs-alb) | cn-terraform/ecs-alb/aws | 1.0.25 |
7070
| <a name="module_ecs-autoscaling"></a> [ecs-autoscaling](#module\_ecs-autoscaling) | cn-terraform/ecs-service-autoscaling/aws | 1.0.6 |
7171

7272
## Resources
@@ -150,6 +150,7 @@ In order to run all checks at any point run the following command:
150150
| <a name="input_tags"></a> [tags](#input\_tags) | Resource tags | `map(string)` | `{}` | no |
151151
| <a name="input_task_definition_arn"></a> [task\_definition\_arn](#input\_task\_definition\_arn) | (Required) The full ARN of the task definition that you want to run in your service. | `any` | n/a | yes |
152152
| <a name="input_vpc_id"></a> [vpc\_id](#input\_vpc\_id) | ID of the VPC | `any` | n/a | yes |
153+
| <a name="input_waf_web_acl_arn"></a> [waf\_web\_acl\_arn](#input\_waf\_web\_acl\_arn) | ARN of a WAFV2 to associate with the ALB | `string` | `""` | no |
153154

154155
## Outputs
155156

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module "ecs-alb" {
2828
enable_cross_zone_load_balancing = var.lb_enable_cross_zone_load_balancing
2929
enable_http2 = var.lb_enable_http2
3030
ip_address_type = var.lb_ip_address_type
31+
waf_web_acl_arn = var.waf_web_acl_arn
3132

3233
# Access Control to Application Load Balancer
3334
http_ports = var.lb_http_ports

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,12 @@ variable "lb_ip_address_type" {
260260
default = "ipv4"
261261
}
262262

263+
variable "waf_web_acl_arn" {
264+
description = "ARN of a WAFV2 to associate with the ALB"
265+
type = string
266+
default = ""
267+
}
268+
263269
#------------------------------------------------------------------------------
264270
# ACCESS CONTROL TO APPLICATION LOAD BALANCER
265271
#------------------------------------------------------------------------------

0 commit comments

Comments
 (0)