You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when specifying a launchTemplate in ManagedNodeGroup properties - it causes the specified amiType and amiReleaseVersion to be ignored/discarded -
i.e. the AmiType and ReleaseVersion disappear from the CloudFormation template that is being generated
Expected Behavior
adding a launchTemplate to ManagedNodeGroup properties does not cause ignoring/discarding amiType and amiReleaseVersion properies - i.e. respective AmiType and ReleaseVersion CloudFormaton properties are not disappearing from the CloudFormation template that is being generated
Current Behavior
when specifying a launchTemplate in ManagedNodeGroup properties - it causes the specifiedamiType and amiReleaseVersion to be ignored/discarded -
i.e. the AmiType and ReleaseVersion disappear from the CloudFormation template that is being generated
Reproduction Steps
Step 1.
first generate (synth) with using ManagedNodeGroup without launchTemplate and see that CloudFormation template contains AmiType and ReleaseVersion with correct values (as specified by amiType and amiReleaseVersion props)
Step 2.
now,
add a launchTemplate as well and synth again and see that AmiType and ReleaseVersion completely disappeared from the CloudFormation template:
Describe the bug
when specifying a
launchTemplate
in ManagedNodeGroup properties - it causes the specifiedamiType
andamiReleaseVersion
to be ignored/discarded -i.e. the
AmiType
andReleaseVersion
disappear from the CloudFormation template that is being generatedExpected Behavior
adding a
launchTemplate
to ManagedNodeGroup properties does not cause ignoring/discardingamiType
andamiReleaseVersion
properies - i.e. respectiveAmiType
andReleaseVersion
CloudFormaton properties are not disappearing from the CloudFormation template that is being generatedCurrent Behavior
when specifying a
launchTemplate
in ManagedNodeGroup properties - it causes the specifiedamiType
andamiReleaseVersion
to be ignored/discarded -i.e. the
AmiType
andReleaseVersion
disappear from the CloudFormation template that is being generatedReproduction Steps
Step 1.
first generate (synth) with using ManagedNodeGroup without
launchTemplate
and see that CloudFormation template containsAmiType
andReleaseVersion
with correct values (as specified byamiType
andamiReleaseVersion
props)Step 2.
now,
add a
launchTemplate
as well and synth again and see thatAmiType
andReleaseVersion
completely disappeared from the CloudFormation template:Possible Solution
No response
Additional Information/Context
these lines might be related to it:
https://github.com/aws-quickstart/cdk-eks-blueprints/blame/ca3e9871abbcbce0d478924c44bbdb2d8ebe90bf/lib/cluster-providers/generic-cluster-provider.ts#L397
CDK CLI Version
2.86.0 (build 1130fab)
EKS Blueprints Version
1.10.0
Node.js Version
v18.12.1
Environment details (OS name and version, etc.)
amazonlinux 2023
Other information
No response
The text was updated successfully, but these errors were encountered: