Skip to content

Commit 51272a0

Browse files
committed
change the ssp container definition to list on both 80 and 443
1 parent f4392f1 commit 51272a0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

modules/060-simplesamlphp/main.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ locals {
9898
mysql_password = var.mysql_pass
9999
mysql_user = var.mysql_user
100100
parameter_store_path = local.parameter_store_path
101-
port = var.enable_tls ? "443" : "80"
102101
profile_url = var.profile_url
103102
recaptcha_key = var.recaptcha_key
104103
recaptcha_secret = var.recaptcha_secret

modules/060-simplesamlphp/task-definition.json.tftpl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
"dnsSearchDomains": null,
99
"portMappings": [
1010
{
11-
"hostPort": 0,
12-
"containerPort": ${port},
11+
"containerPort": 80,
12+
"protocol": "tcp"
13+
},
14+
{
15+
"containerPort": 443,
1316
"protocol": "tcp"
1417
}
1518
],

0 commit comments

Comments
 (0)