Bug: sam validate fail when using SecondsUntilAutoPause in a AWS::RDS::DBCluster #7816
Labels
stage/needs-triage
Automatically applied to new issues and PRs, indicating they haven't been looked at.
Description:
In my template.yaml file I'm configuring a AWS::RDS::DBCluster with engine: aurora-postgresql and ServerlessV2ScalingConfiguration
in ServerlessV2ScalingConfiguration I'm trying to use SecondsUntilAutoPause to set it to 900 seconds
When running sam validate - the validation failed with error:
[E3002: Resource properties are invalid] (Additional properties are not allowed ('SecondsUntilAutoPause' was unexpected)) matched 83]
Steps to reproduce:
In your template.yaml file add AWS::RDS::DBCluster with engine: aurora-postgresql
Use ServerlessV2ScalingConfiguration to define serverless V2, and under it define SecondsUntilAutoPause: 300
Observed result:
[[E3002: Resource properties are invalid] (Additional properties are not allowed ('SecondsUntilAutoPause' was unexpected)) matched 83]
Expected result:
Validation passs
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.132.0Add --debug flag to command you are running
The text was updated successfully, but these errors were encountered: