Skip to content

Commit f260e46

Browse files
committed
Updating module dependency
1 parent 424748d commit f260e46

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

examples/test/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module "base-network" {
1616

1717
module "td" {
1818
source = "cn-terraform/ecs-fargate-task-definition/aws"
19-
version = "1.0.17"
19+
version = "1.0.18"
2020
name_prefix = "test-td"
2121
container_image = "ubuntu"
2222
container_name = "test"

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#------------------------------------------------------------------------------
44
module "ecs-alb" {
55
source = "cn-terraform/ecs-alb/aws"
6-
version = "1.0.7"
6+
version = "1.0.8"
77

88
name_prefix = var.name_prefix
99
vpc_id = var.vpc_id

variables.tf

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,11 @@ variable "lb_ip_address_type" {
234234
# ACCESS CONTROL TO APPLICATION LOAD BALANCER
235235
#------------------------------------------------------------------------------
236236
variable "lb_http_ports" {
237-
description = "Map containing objects with two fields, listener_port and the target_group_port to redirect HTTP requests"
237+
description = "Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener_port and the target_group_port. For `redirect` type, include listener port, host, path, port, protocol, query and status_code. For `fixed-response`, include listener_port, content_type, message_body and status_code"
238238
type = map(any)
239239
default = {
240240
default_http = {
241+
type = "forward"
241242
listener_port = 80
242243
target_group_port = 80
243244
}
@@ -257,10 +258,11 @@ variable "lb_http_ingress_prefix_list_ids" {
257258
}
258259

259260
variable "lb_https_ports" {
260-
description = "Map containing objects with two fields, listener_port and the target_group_port to redirect HTTPS requests"
261+
description = "Map containing objects to define listeners behaviour based on type field. If type field is `forward`, include listener_port and the target_group_port. For `redirect` type, include listener port, host, path, port, protocol, query and status_code. For `fixed-response`, include listener_port, content_type, message_body and status_code"
261262
type = map(any)
262263
default = {
263264
default_http = {
265+
type = "forward"
264266
listener_port = 443
265267
target_group_port = 443
266268
}

0 commit comments

Comments
 (0)