cloudformation.CfnStackSet.ManagedExecutionProperty: extraneous key [active] is not permitted #26152
Labels
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
bug
This issue is a bug.
effort/small
Small work item – less than a day of effort
p2
Describe the bug
I am writing CDK in Python 3.10 which deploys a stackset. It seems there is currently a bug in
ManagedExecutionProperty
where you can not specify this property without getting an extraneous key error.Example construct:
This will synth fine but when deploying the following error causes a rollback:
#/ManagedExecution: extraneous key [active] is not permitted
The synth'd template looks like:
I think the
a
in active is supposed to be capitalized like:Expected Behavior
No errors when using ManagedExecutionProperty
Current Behavior
Using ManagedExecutionProperty will always result in the error: ManagedExecution: extraneous key [active] is not permitted
Reproduction Steps
Create a stackset using cdk and specify the managed_execution argument.
Possible Solution
Make the the word
active
synth toActive
in the template.Additional Information/Context
No response
CDK CLI Version
2.85.0
Framework Version
No response
Node.js Version
18.x.x
OS
macos
Language
Python
Language Version
Python 3.10
Other information
No response
The text was updated successfully, but these errors were encountered: