-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Stop private and public dns namespace resources being replaced when the description is altered #32342
Stop private and public dns namespace resources being replaced when the description is altered #32342
Conversation
Community NoteVoting for Prioritization
For Submitters
|
Thank you for your contribution! 🚀 Please note that the Remove any changes to the |
(was in the wrong section)
…Namespace'. Acceptance test output: % make testacc TESTARGS='-run=TestAccServiceDiscoveryPrivateDNSNamespace_description' PKG=servicediscovery ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/servicediscovery/... -v -count 1 -parallel 2 -run=TestAccServiceDiscoveryPrivateDNSNamespace_description -timeout 180m === RUN TestAccServiceDiscoveryPrivateDNSNamespace_description === PAUSE TestAccServiceDiscoveryPrivateDNSNamespace_description === CONT TestAccServiceDiscoveryPrivateDNSNamespace_description --- PASS: TestAccServiceDiscoveryPrivateDNSNamespace_description (130.74s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/servicediscovery 136.172s
…mespace'. Acceptance test output: % make testacc TESTARGS='-run=TestAccServiceDiscoveryPublicDNSNamespace_description' PKG=servicediscovery ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./internal/service/servicediscovery/... -v -count 1 -parallel 2 -run=TestAccServiceDiscoveryPublicDNSNamespace_description -timeout 180m === RUN TestAccServiceDiscoveryPublicDNSNamespace_description === PAUSE TestAccServiceDiscoveryPublicDNSNamespace_description === CONT TestAccServiceDiscoveryPublicDNSNamespace_description --- PASS: TestAccServiceDiscoveryPublicDNSNamespace_description (125.75s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/servicediscovery 131.459s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccServiceDiscoveryPublicDNSNamespace_\|TestAccServiceDiscoveryPrivateDNSNamespace_' PKG=servicediscovery ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/servicediscovery/... -v -count 1 -parallel 2 -run=TestAccServiceDiscoveryPublicDNSNamespace_\|TestAccServiceDiscoveryPrivateDNSNamespace_ -timeout 180m
=== RUN TestAccServiceDiscoveryPrivateDNSNamespace_basic
=== PAUSE TestAccServiceDiscoveryPrivateDNSNamespace_basic
=== RUN TestAccServiceDiscoveryPrivateDNSNamespace_disappears
=== PAUSE TestAccServiceDiscoveryPrivateDNSNamespace_disappears
=== RUN TestAccServiceDiscoveryPrivateDNSNamespace_description
=== PAUSE TestAccServiceDiscoveryPrivateDNSNamespace_description
=== RUN TestAccServiceDiscoveryPrivateDNSNamespace_Error_overlap
=== PAUSE TestAccServiceDiscoveryPrivateDNSNamespace_Error_overlap
=== RUN TestAccServiceDiscoveryPrivateDNSNamespace_tags
=== PAUSE TestAccServiceDiscoveryPrivateDNSNamespace_tags
=== RUN TestAccServiceDiscoveryPublicDNSNamespace_basic
=== PAUSE TestAccServiceDiscoveryPublicDNSNamespace_basic
=== RUN TestAccServiceDiscoveryPublicDNSNamespace_disappears
=== PAUSE TestAccServiceDiscoveryPublicDNSNamespace_disappears
=== RUN TestAccServiceDiscoveryPublicDNSNamespace_description
=== PAUSE TestAccServiceDiscoveryPublicDNSNamespace_description
=== RUN TestAccServiceDiscoveryPublicDNSNamespace_tags
=== PAUSE TestAccServiceDiscoveryPublicDNSNamespace_tags
=== CONT TestAccServiceDiscoveryPrivateDNSNamespace_basic
=== CONT TestAccServiceDiscoveryPublicDNSNamespace_basic
--- PASS: TestAccServiceDiscoveryPublicDNSNamespace_basic (114.63s)
=== CONT TestAccServiceDiscoveryPrivateDNSNamespace_tags
--- PASS: TestAccServiceDiscoveryPrivateDNSNamespace_basic (118.92s)
=== CONT TestAccServiceDiscoveryPrivateDNSNamespace_Error_overlap
--- PASS: TestAccServiceDiscoveryPrivateDNSNamespace_tags (151.81s)
=== CONT TestAccServiceDiscoveryPrivateDNSNamespace_description
--- PASS: TestAccServiceDiscoveryPrivateDNSNamespace_Error_overlap (176.03s)
=== CONT TestAccServiceDiscoveryPrivateDNSNamespace_disappears
--- PASS: TestAccServiceDiscoveryPrivateDNSNamespace_description (131.18s)
=== CONT TestAccServiceDiscoveryPublicDNSNamespace_tags
--- PASS: TestAccServiceDiscoveryPrivateDNSNamespace_disappears (111.82s)
=== CONT TestAccServiceDiscoveryPublicDNSNamespace_description
--- PASS: TestAccServiceDiscoveryPublicDNSNamespace_description (129.71s)
=== CONT TestAccServiceDiscoveryPublicDNSNamespace_disappears
--- PASS: TestAccServiceDiscoveryPublicDNSNamespace_tags (151.63s)
--- PASS: TestAccServiceDiscoveryPublicDNSNamespace_disappears (104.38s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/servicediscovery 646.391s
@pierskarsenbarg Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.7.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! |
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. |
Description
Currently, if you update the description of either a private DNS namespace (
aws_service_discovery_private_dns_namespaceediscovery
) or a public DNS namespace (aws_service_discovery_public_dns_namespaceediscovery
) it triggers a replacement. This doesn't happen either in the console or with the AWS CLI, so it probably shouldn't happen here.Relations
Closes #32341
References