Open
Description
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
- Set instance_type to some provisioned instance type
- Set serverlessv2_scaling_configuration to something non-null
- aws_rds_cluster_instance resource instance_class changes to
db.serverless
☹️
Screenshots
No response
Environment
No response
Additional Context
No response