While the doc states that LaunchTemplateName and LaunchTemplateId are conditionally required (and they are).
Cilents (pulumi/pulumi-aws-native#1282) may not include LaunchTemplateName or LaunchTemplateId if there is no drift when updating, causing CloudControl complains operation UPDATE failed with "InvalidRequest": A launch template specification in the overrides isn't valid. Either a LaunchTemplateId or a LaunchTemplateName must be specified.
Expected Behavior
specify that one of LaunchTemplateName and LaunchTemplateId is required in the schema; or
make LaunchTemplateName and LaunchTemplateId optional when updating with cloudcontrol
Observed Behavior
LaunchTemplateName and LaunchTemplateId is not specified as required in CloudFormation schema, hence clients can freely omit them if no drift is detected. But cloudformation requires one of them when updating.
Name of the resource
AWS::AutoScaling::AutoScalingGroup
Resource Name
No response
Issue Description
$.Schema.definitions.LaunchTemplateSpecification
is advertised asWhile the doc states that
LaunchTemplateName
andLaunchTemplateId
are conditionally required (and they are).Cilents (pulumi/pulumi-aws-native#1282) may not include
LaunchTemplateName
orLaunchTemplateId
if there is no drift when updating, causing CloudControl complainsoperation UPDATE failed with "InvalidRequest": A launch template specification in the overrides isn't valid. Either a LaunchTemplateId or a LaunchTemplateName must be specified.
Expected Behavior
LaunchTemplateName
andLaunchTemplateId
is required in the schema; orLaunchTemplateName
andLaunchTemplateId
optional when updating with cloudcontrolObserved Behavior
LaunchTemplateName
andLaunchTemplateId
is not specified as required in CloudFormation schema, hence clients can freely omit them if no drift is detected. But cloudformation requires one of them when updating.Test Cases
n.a.
Other Details
No response