Skip to content
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

Support for seconds_until_auto_pause in serverlessv2_scaling_configuration #238

Open
fvasco opened this issue Nov 26, 2024 · 0 comments
Open

Comments

@fvasco
Copy link

fvasco commented Nov 26, 2024

Describe the Feature

Amazon Aurora Serverless v2 supports scaling to zero capacity (https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-aurora-serverless-v2-scaling-zero-capacity/).
It is not possible to set, in a aws_rds_cluster resource:

  serverlessv2_scaling_configuration {
    min_capacity             = 0
    max_capacity             = 128
    seconds_until_auto_pause = 600
  }

min_capacity cannot be 0 and seconds_until_auto_pause is undefined.

Expected Behavior

Similar to executing command: aws rds modify-db-cluster --db-cluster-identifier mycluster --serverless-v2-scaling-configuration MinCapacity=0,MaxCapacity=128,SecondsUntilAutoPause=600

Use Case

Map RDS feature to Terraform

Describe Ideal Solution

Allow to set seconds_until_auto_pause and min_capacity=0 in a aws_rds_cluster resource

Alternatives Considered

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant