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.85k stars 9.19k forks source link

AWS GovCloud (US) support for aws_rds_cluster_endpoint resource #15061

Closed YakDriver closed 2 weeks ago

YakDriver commented 4 years ago

Community Note

Description

This is a tracking issue for problems with the aws_rds_cluster_endpoint resource on GovCloud. A precheck is likely needed to avoid the test failure.

New or Affected Resource(s)

Problem report

Output from aws_rds_cluster_endpoint acceptance testing (GovCloud):

--- FAIL: TestAccAWSRDSClusterEndpoint_tags (790.96s)
Error: Error creating RDS Cluster Endpoint: InvalidParameterValue: Tagging endpoints is currently not available
            status code: 400, request id: 89d2ddd4-a2cc-4e68-a694-ab07c529b87b

--- FAIL: TestAccAWSRDSClusterEndpoint_basic (946.55s)
Error: error listing tags for RDS Cluster Endpoint (arn:aws-us-gov:rds:us-gov-west-1:357342307427:cluster-endpoint:reader-6910710774328620347): InvalidParameterValue: The specified resource name does not match an RDS resource in this region.
            status code: 400, request id: cadfaeaa-2001-4e44-823e-af840be8aa89

References

55octet commented 2 years ago

Has anyone made any progress on this yet? It appears that Gov Cloud does not support end point tagging. While tagging would be nice, this crashing any terraform plans or apply on created resources. It appears to be present in the awscli as well. It looks like tag fetching and updating needs to be disabled for gov regions.

tatsuya4559 commented 2 years ago

I've got the same problem in ap-northeast-3(Osaka) region.

github-actions[bot] commented 2 months ago

Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label.

If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!