-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloudformation.CfnStackSet.ManagedExecutionProperty: extraneous key [active] is not permitted #26152
Comments
managed_execution is type managed_execution={
"Active": true
} |
We hope to make those docs accurate in the future by allowing that way of specifying this when an |
|
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: