EstimateTemplateCost via aws-cli validates that LaunchConfigurationName is required in AWS::AutoScaling::AutoScalingGroup
However, Cloudformation documentation shows that it's requirement is only Conditional, given that other properties needed to create the AutoscalingGroup Exists
LaunchConfigurationName
The name of the launch configuration to use to launch instances.
If you specify LaunchTemplate, MixedInstancesPolicy, or InstanceId, don't specify LaunchConfigurationName.
Required: Conditional
The template used for cost estimation uses LaunchTemplate property instead.
Expected Behavior
EstimateTemplateCost should show the AWS calculator link from command
Observed Behavior
Received error as shown:
An error occurred (ValidationError) when calling the EstimateTemplateCost operation: LaunchConfigurationName missing. It is a mandatory property of AutoScaling Group
Name of the resource
AWS::AutoScaling::AutoScalingGroup
Resource Name
AWS::AutoScaling::AutoScalingGroup
Issue Description
EstimateTemplateCost via aws-cli validates that LaunchConfigurationName is required in AWS::AutoScaling::AutoScalingGroup
However, Cloudformation documentation shows that it's requirement is only Conditional, given that other properties needed to create the AutoscalingGroup Exists
The template used for cost estimation uses LaunchTemplate property instead.
Expected Behavior
EstimateTemplateCost should show the AWS calculator link from command
Observed Behavior
Received error as shown:
Test Cases
Ran the following aws-cli command
Other Details
No response