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.
Deployments of RFDK to brand new accounts would fail with:
The Launch Configuration creation operation is not available in your account. Use launch templates to create configuration templates for your Auto Scaling groups.
Problem
Deployments of RFDK to brand new accounts would fail with:
This is because Launch Configurations were deprecated, and recently denied for new accounts in https://github.com/aws/aws-cdk/pull/25910
Solution
Added the feature flag that converts launch configurations to launch templates, as described in the documentation: https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/cx-api/FEATURE_FLAGS.md#aws-cdkaws-autoscalinggeneratelaunchtemplateinsteadoflaunchconfig
Testing
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license