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

tests/provider: DB Instance CAC failure (GovCloud) #15772

Closed
YakDriver opened this issue Oct 21, 2020 · 1 comment · Fixed by #15733
Closed

tests/provider: DB Instance CAC failure (GovCloud) #15772

YakDriver opened this issue Oct 21, 2020 · 1 comment · Fixed by #15733
Labels
partition/aws-us-gov Pertains to the aws-us-gov partition. service/rds Issues and PRs that pertain to the rds service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@YakDriver
Copy link
Member

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

This test fails on GovCloud:

TestAccAWSDBInstance_CACertificateIdentifier
TestAccAWSDBInstance_ReplicateSourceDb_CACertificateIdentifier

With this error: CertificateNotFound: Certificate not found.

It appears to be a testing environment/account issue.

New or Affected Resource(s)

  • aws_db_instance

Terraform Configuration Files

Initial config:

resource "aws_db_instance" "bar" {
  allocated_storage   = 10
  apply_immediately   = true
  ca_cert_identifier  = "rds-ca-2019"
  engine              = data.aws_rds_orderable_db_instance.test.engine
  instance_class      = data.aws_rds_orderable_db_instance.test.instance_class
  name                = "baz"
  password            = "barbarbarbar"
  skip_final_snapshot = true
  username            = "foo"
}

Debug Output

 TestAccAWSDBInstance_CACertificateIdentifier: resource_aws_db_instance_test.go:2982: Step 1/1 error: Error running apply: 2020/10/20 19:40:03 [DEBUG] Using modified User-Agent: Terraform/0.12.29 HashiCorp-terraform-exec/0.10.0
        
        Error: error modifying DB Instance (terraform-20201020194004422400000001): CertificateNotFound: Certificate not found: rds-ca-2019
        	status code: 404, request id: ada72859-7aad-4770-8e5d-2bcf95022114

--- FAIL: TestAccAWSDBInstance_CACertificateIdentifier (438.48s)

References

@YakDriver YakDriver added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. partition/aws-us-gov Pertains to the aws-us-gov partition. labels Oct 21, 2020
@ghost ghost added the service/rds Issues and PRs that pertain to the rds service. label Oct 21, 2020
@ghost
Copy link

ghost commented Nov 27, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
partition/aws-us-gov Pertains to the aws-us-gov partition. service/rds Issues and PRs that pertain to the rds service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant