Skip to content

Commit b57adaf

Browse files
committed
Fixed get_port() in CF template
1 parent 0424cf7 commit b57adaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/aws/create_cloudformation_stack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def create_egress(url, description):
1414
}
1515

1616
def get_port(url):
17-
return url.split(":")[1]
17+
return url.split(":")[2]
1818

1919
def create_cloudformation_stack(client, stack_name, cft_content, api_token, dc_cfg, ip_address, env):
2020
result = client.create_stack(

0 commit comments

Comments
 (0)