Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(autoscaling): correct feature flag for launch templates (#27235)
The docs for [`AutoScalingGroup`](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_autoscaling-readme.html#auto-scaling-group) mention using the feature flag `@aws-cdk/aws-autoscaling:disableDefaultLaunchConfigCreation` in order to generate launch templates instead of launch configs. This flag doesn't exist and the correct flag should be `@aws-cdk/aws-autoscaling:generateLaunchTemplateInsteadOfLaunchConfig` as specified on the [feature flags page](https://github.com/aws/aws-cdk/blob/main/packages/%40aws-cdk/cx-api/FEATURE_FLAGS.md#aws-cdkaws-autoscalinggeneratelaunchtemplateinsteadoflaunchconfig) _Was raised by Carl Fürstenberg on the #aws-cdk slack channel_ ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information