-
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
(aws-docdb): unsupported snapshot policy although documentation says it should be #28861
Comments
I believe the issue is that the list here is missing |
Wonderful @GavinZZ , thx a lot. |
@lpizzinidev Noted, I will close my PR. Please in the future assign your self to the issue or linked the issue in your PR to avoid wasted effort. Thank you! |
@GavinZZ |
It is a bit of my fault. I did not notice @lpizzinidev has included the change. |
@kornicameister |
Adds support for `removalPolicy: RemovalPolicy.SNAPSHOT` for DocumentDB clusters as specified in the [documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html). To allow users to specify custom policies for the cluster's instances and security group the following properties have been added: * `instanceRemovalPolicy` * `securityGroupRemovalPolicy` Closes #28773. Closes #28861 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Describe the bug
#28773 addressed the fact that it is impossible to spin up L2 DocumentDbCluster with retention policy said to Snaphost.
Although that is correct for security group inside (there's an escape hatch in DocumentDbCluster that sets cluster's retention policy onto the group) it turned out that
cdk synth
againstDocumentDbCluster
with a policy == Snaphost and seperately created security group also fails with an error that this time snaphost policy is not possible forDocumentDbCluster
even though documentation says soExpected Behavior
It is possible to configure DocumentDBCluster with Snapshot removal policy.
Current Behavior
It is not possible to configure said cluster with Snapshot removal policy.
Reproduction Steps
Possible Solution
@lpizzinidev mentioned that there might some sort of a list that needs to be updated to allow sscce to synthetize but I have no idea what that is and where that is.
Additional Information/Context
No response
CDK CLI Version
2.121.1
Framework Version
No response
Node.js Version
20.8
OS
MacOS sierra
Language
TypeScript
Language Version
5.3
Other information
No response
The text was updated successfully, but these errors were encountered: