Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 3805008

Browse files
authored
Merge pull request #12 from qqshfox/fix_MapPublicIPs
fix MapPublicIPs in stack template
2 parents 5458027 + b126f66 commit 3805008

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/templates/stack-template.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341
"KeyName": "{{$.KeyName}}",
342342
"NetworkInterfaces": [
343343
{
344-
"AssociatePublicIpAddress": {{.MapPublicIPs}},
344+
"AssociatePublicIpAddress": {{$.MapPublicIPs}},
345345
"DeleteOnTermination": true,
346346
"DeviceIndex": "0",
347347
"GroupSet": [
@@ -799,7 +799,7 @@
799799
"Properties": {
800800
"AvailabilityZone": "{{$subnet.AvailabilityZone}}",
801801
"CidrBlock": "{{$subnet.InstanceCIDR}}",
802-
"MapPublicIpOnLaunch": {{.MapPublicIPs}},
802+
"MapPublicIpOnLaunch": {{$.MapPublicIPs}},
803803
"Tags": [
804804
{
805805
"Key": "KubernetesCluster",

0 commit comments

Comments
 (0)