Skip to content

Commit 3daa07e

Browse files
nitrocodeGowiem
andauthored
Remove default port mapping as it is optional (#77)
Fixes #74 Co-authored-by: Matt Gowie <[email protected]>
1 parent 79beb02 commit 3daa07e

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

variables.tf

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@ variable "port_mappings" {
2929

3030
description = "The port mappings to configure for the container. This is a list of maps. Each map should contain \"containerPort\", \"hostPort\", and \"protocol\", where \"protocol\" is one of \"tcp\" or \"udp\". If using containers in a task with the awsvpc or host network mode, the hostPort can either be left blank or set to the same value as the containerPort"
3131

32-
default = [
33-
{
34-
containerPort = 80
35-
hostPort = 80
36-
protocol = "tcp"
37-
}
38-
]
32+
default = []
3933
}
4034

4135
# https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_HealthCheck.html

0 commit comments

Comments
 (0)