aws / aws-rfdk

The Render Farm Deployment Kit on AWS is a library for use with the AWS Cloud Development Kit that helps you define your render farm cloud infrastructure as code.
https://docs.aws.amazon.com/rfdk/index.html
Apache License 2.0
105 stars 38 forks source link

test: set feature flag for unique launch template names to fix integ tests #1165

Closed marofke closed 6 months ago

marofke commented 6 months ago

Problem

Integration tests were failing to deploy some stacks due to Launch template name collisions. This is due to the IMSDv2 aspect requiring a feature flag for a launch template name to be unique.

Solution

Set the feature flag in the cdk.json files for the integration tests

Testing

Synthesized a simple CDK app with and without the feature flag set, confirming a LaunchTemplate in the template receive a unique name with the feature flag.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license