You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect the build() call in the LifecycleRuleBuilder to detect an invalid combination of parameters and to throw a clear error during the synth phase, otherwise I do not see how CDK is any more helpful than yaml.
What actually happened?
During deployment, the following cryptic error is returned from the S3 service:
The XML you provided was not well-formed or did not validate against our published schema
What is the problem?
I created the lifecycle rule shown below and assigned it to an S3 bucket:
This lifecycle rule is invalid, because, during deployment, the following cryptic error is returned from the S3 service:
This was fixed after modifying the lifecyle rule to:
Reproduction Steps
What did you expect to happen?
I would expect the
build()
call in the LifecycleRuleBuilder to detect an invalid combination of parameters and to throw a clear error during the synth phase, otherwise I do not see how CDK is any more helpful than yaml.What actually happened?
During deployment, the following cryptic error is returned from the S3 service:
CDK CLI Version
2.12.0 (build c9786db)
Framework Version
v2
Node.js Version
v14.17.1
OS
Windows 10 Enterprise
Language
Java
Language Version
Coretto 11.0.11.9
Other information
No response
The text was updated successfully, but these errors were encountered: