hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.61k stars 9k forks source link

[Enhancement]: Not able to enable the RDS Data API using "enable_http_endpoint" #37125

Open karthikanbu22 opened 2 months ago

karthikanbu22 commented 2 months ago

Description

We are trying to enable the RDS Data API using "enable_http_endpoint" but we are not able to do so. We are using Aurora PostgreSQL provisioned v2 clusters and Engine version 16.1.

We raised AWS support case and we got below response:

the reason for Terraform not being able to enable data api could be due to the use of older unsupported ModifyCluster API call to set the http endpoint. The aws_rds_cluster resource might contain the older supported enable_http_endpoint attribute for aurora serverless v1 cluster, but seems it has not been updated to support serverless v2/provisioned clusters.

If this is the case please enable this future for Aurora PostgreSQL serverless/provisioned v2 clusters

Affected Resource(s) and/or Data Source(s)

Aurora PostgreSQL serverless/provisioned v2

Potential Terraform Configuration

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 2 months ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 1 month ago

Hey @karthikanbu22 👋 Thank you for taking the time to raise this! Can you provide a bit more detail as to what errors (if any) you're receiving? I'd also like to check to see if the information in the proposed PR #37287 provides any clarity.