Skip to content

Commit 41d351d

Browse files
authored
Fix host-config.yaml for Windows build (#9558)
The default instance tag was created with the wrong order of words causing an error: no server could be provisioned failed to read host config: dynamic platform 'windows/amd64': invalid instance-tag 'stage-amd64-windows': instance type mismatch: key has '', value has
1 parent 11c7e1b commit 41d351d

File tree

1 file changed

+1
-1
lines changed
  • components/multi-platform-controller/base/host-config-chart/templates

1 file changed

+1
-1
lines changed

components/multi-platform-controller/base/host-config-chart/templates/host-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ data:
11251125
dynamic.windows-amd64.region: {{ index $config "region" | default "us-east-1" | quote }}
11261126
dynamic.windows-amd64.ami: {{ default (index $windows "ami") $config.ami | quote }}
11271127
dynamic.windows-amd64.instance-type: {{ (index $config "instance-type") | default "c5.4xlarge" | quote }}
1128-
dynamic.windows-amd64.instance-tag: {{ (index $config "instance-tag") | default (printf "%s-amd64-windows" $environment) | quote }}
1128+
dynamic.windows-amd64.instance-tag: {{ (index $config "instance-tag") | default (printf "%s-windows-amd64" $environment) | quote }}
11291129
dynamic.windows-amd64.key-name: {{ default (index $windows "key-name") ((index $config "key-name")) | quote }}
11301130
dynamic.windows-amd64.aws-secret: {{ (index $config "aws-secret") | default "aws-account" | quote }}
11311131
dynamic.windows-amd64.ssh-secret: {{ (index $config "ssh-secret") | default "aws-ssh-key" | quote }}

0 commit comments

Comments
 (0)