terraform-aws-rds-cluster icon indicating copy to clipboard operation
terraform-aws-rds-cluster copied to clipboard

enable_http_endpoint not working for serverlessv2 configurations

Open hragbalian opened this issue 1 year ago • 0 comments

Describe the Bug

When instance_type is "db.serverless" (for V2 serverless) the engine_mode does not accept the value "serverless", but this value is required to enable the Data API via enable_http_endpoint = true. As a result, the co-condition only applies for serverless v1.

Expected Behavior

That

...
instance_type` = "db.serverless"
enable_http_endpoint = true
...

would enable the Data API for serverless V2

Steps to Reproduce

...
instance_type` = "db.serverless"
enable_http_endpoint = true
...

Screenshots

No response

Environment

OSX, M1

Additional Context

No response

hragbalian avatar Mar 01 '24 18:03 hragbalian