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

rd/route53_delegation_set - add arn attribute + remove resource from state when doesn't exist #20664

Merged
merged 3 commits into from
Aug 24, 2021

Conversation

DrFaust92
Copy link
Collaborator

@DrFaust92 DrFaust92 commented Aug 23, 2021

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment 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 pull request followers and do not help prioritize the request

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSRoute53DelegationSet_'
--- PASS: TestAccAWSRoute53DelegationSet_disappears (46.16s)
--- PASS: TestAccAWSRoute53DelegationSet_basic (63.57s)
--- PASS: TestAccAWSRoute53DelegationSet_withZones (126.55s)
$ make testacc TESTARGS='-run=TestAccAWSRoute53DelegationSetDataSource_basic'
--- PASS: TestAccAWSRoute53DelegationSetDataSource_basic (99.35s)

@github-actions github-actions bot added documentation Introduces or discusses updates to documentation. service/route53 Issues and PRs that pertain to the route53 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/M Managed by automation to categorize the size of a PR. labels Aug 23, 2021
@DrFaust92 DrFaust92 added the enhancement Requests to existing resources that expand the functionality or scope. label Aug 23, 2021
@DrFaust92 DrFaust92 marked this pull request as ready for review August 23, 2021 18:59
@DrFaust92 DrFaust92 changed the title rd/route53_delegation_set - add arn attribute rd/route53_delegation_set - add arn attribute + remove resource from state when doesn't exist Aug 23, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

Commercial
% make testacc TESTARGS='-run=TestAccAWSRoute53DelegationSet_\|TestAccAWSRoute53DelegationSetDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSRoute53DelegationSet_\|TestAccAWSRoute53DelegationSetDataSource_ -timeout 180m
=== RUN   TestAccAWSRoute53DelegationSetDataSource_basic
--- PASS: TestAccAWSRoute53DelegationSetDataSource_basic (62.28s)
=== RUN   TestAccAWSRoute53DelegationSet_basic
=== PAUSE TestAccAWSRoute53DelegationSet_basic
=== RUN   TestAccAWSRoute53DelegationSet_withZones
=== PAUSE TestAccAWSRoute53DelegationSet_withZones
=== RUN   TestAccAWSRoute53DelegationSet_disappears
=== PAUSE TestAccAWSRoute53DelegationSet_disappears
=== CONT  TestAccAWSRoute53DelegationSet_basic
=== CONT  TestAccAWSRoute53DelegationSet_disappears
=== CONT  TestAccAWSRoute53DelegationSet_withZones
--- PASS: TestAccAWSRoute53DelegationSet_disappears (9.52s)
--- PASS: TestAccAWSRoute53DelegationSet_basic (12.83s)
--- PASS: TestAccAWSRoute53DelegationSet_withZones (59.87s)
PASS
ok      github.com/terraform-providers/terraform-provider-aws/aws       125.587s
GovCloud
% make testacc TESTARGS='-run=TestAccAWSRoute53DelegationSet_\|TestAccAWSRoute53DelegationSetDataSource_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSRoute53DelegationSet_\|TestAccAWSRoute53DelegationSetDataSource_ -timeout 180m
=== RUN   TestAccAWSRoute53DelegationSetDataSource_basic
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: InvalidInput: Operations related to PublicDNS are not supported in this aws partition.
        	status code: 400, request id: 0df4f4ac-879e-49ab-8e6b-ae88673d7cff
        
          with aws_route53_delegation_set.dset,
          on terraform_plugin_test.tf line 2, in resource "aws_route53_delegation_set" "dset":
           2: resource "aws_route53_delegation_set" "dset" {
        
--- SKIP: TestAccAWSRoute53DelegationSetDataSource_basic (7.09s)
=== RUN   TestAccAWSRoute53DelegationSet_basic
=== PAUSE TestAccAWSRoute53DelegationSet_basic
=== RUN   TestAccAWSRoute53DelegationSet_withZones
=== PAUSE TestAccAWSRoute53DelegationSet_withZones
=== RUN   TestAccAWSRoute53DelegationSet_disappears
=== PAUSE TestAccAWSRoute53DelegationSet_disappears
=== CONT  TestAccAWSRoute53DelegationSet_basic
=== CONT  TestAccAWSRoute53DelegationSet_disappears
=== CONT  TestAccAWSRoute53DelegationSet_withZones
=== CONT  TestAccAWSRoute53DelegationSet_disappears
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: InvalidInput: Operations related to PublicDNS are not supported in this aws partition.
        	status code: 400, request id: 6a8621eb-4d70-45b9-86bf-3c5cda7b9eb4
        
          with aws_route53_delegation_set.test,
          on terraform_plugin_test.tf line 2, in resource "aws_route53_delegation_set" "test":
           2: resource "aws_route53_delegation_set" "test" {
        
=== CONT  TestAccAWSRoute53DelegationSet_withZones
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: InvalidInput: Operations related to PublicDNS are not supported in this aws partition.
        	status code: 400, request id: 09ae068d-8574-4c06-9bb4-361b621c0fb4
        
          with aws_route53_delegation_set.test,
          on terraform_plugin_test.tf line 2, in resource "aws_route53_delegation_set" "test":
           2: resource "aws_route53_delegation_set" "test" {
        
=== CONT  TestAccAWSRoute53DelegationSet_basic
    provider_test.go:1123: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        
        Error: InvalidInput: Operations related to PublicDNS are not supported in this aws partition.
        	status code: 400, request id: a1759455-7090-4ad9-b500-8fc9edae282f
        
          with aws_route53_delegation_set.test,
          on terraform_plugin_test.tf line 2, in resource "aws_route53_delegation_set" "test":
           2: resource "aws_route53_delegation_set" "test" {
        
--- SKIP: TestAccAWSRoute53DelegationSet_disappears (6.05s)
--- SKIP: TestAccAWSRoute53DelegationSet_withZones (6.07s)
--- SKIP: TestAccAWSRoute53DelegationSet_basic (6.10s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	16.470s

@ewbankkit
Copy link
Contributor

@DrFaust92 Thanks for the contribution 🎉 👏.

@ewbankkit ewbankkit merged commit 7606deb into hashicorp:main Aug 24, 2021
@github-actions github-actions bot added this to the v3.56.0 milestone Aug 24, 2021
@DrFaust92 DrFaust92 deleted the rd/route53_delegation_set_arn branch August 24, 2021 12:16
@github-actions
Copy link

This functionality has been released in v3.56.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/route53 Issues and PRs that pertain to the route53 service. size/M Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants