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

serverlessv2_scaling_configuration does not imply instance class #246

Open
paulerickson opened this issue Dec 11, 2024 · 0 comments · May be fixed by #247
Open

serverlessv2_scaling_configuration does not imply instance class #246

paulerickson opened this issue Dec 11, 2024 · 0 comments · May be fixed by #247
Labels
bug 🐛 An issue with the system

Comments

@paulerickson
Copy link

Describe the Bug

serverlessv2_scaling_configuration is a cluster attribute—which can never be unset, by the way—required to add db.serverless instances to a provisioned cluster, but it does not imply that that there must be any serverless instances.

This conditional would give every instance class db.serverless, even if instance_type is set to another value.

Expected Behavior

instance_type var configures the instance_class attribute of aws_rds_cluster_instance resources.

Steps to Reproduce

  1. Set instance_type to some provisioned instance type
  2. Set serverlessv2_scaling_configuration to something non-null
  3. aws_rds_cluster_instance resource instance_class changes to db.serverless ☹️

Screenshots

No response

Environment

No response

Additional Context

No response

@paulerickson paulerickson added the bug 🐛 An issue with the system label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system
Projects
None yet
1 participant