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

azurerm_private_dns_zone - Ensure consistent ID generation #17729

Merged

Conversation

owenfarrell
Copy link
Contributor

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

Summary

This pull request removes local variables that were only used create a resource ID.

Fixes: #17036

Output from acceptance testing:

make acctests SERVICE='privatedns' TESTARGS='-run="TestAccDataSourcePrivateDNSZone_"'
==> Checking that code complies with gofmt requirements...
==> Checking that Custom Timeouts are used...
==> Checking that acceptance test packages are used...
TF_ACC=1 go test -v ./internal/services/privatedns -run="TestAccDataSourcePrivateDNSZone_" -timeout 180m -ldflags="-X=github.com/hashicorp/terraform-provider-azurerm/version.ProviderVersion=acc"
=== RUN   TestAccDataSourcePrivateDNSZone_basic
=== PAUSE TestAccDataSourcePrivateDNSZone_basic
=== RUN   TestAccDataSourcePrivateDNSZone_tags
=== PAUSE TestAccDataSourcePrivateDNSZone_tags
=== RUN   TestAccDataSourcePrivateDNSZone_withoutResourceGroupName
=== PAUSE TestAccDataSourcePrivateDNSZone_withoutResourceGroupName
=== CONT  TestAccDataSourcePrivateDNSZone_basic
=== CONT  TestAccDataSourcePrivateDNSZone_withoutResourceGroupName
=== CONT  TestAccDataSourcePrivateDNSZone_tags
--- PASS: TestAccDataSourcePrivateDNSZone_tags (236.25s)
--- PASS: TestAccDataSourcePrivateDNSZone_withoutResourceGroupName (266.74s)
--- PASS: TestAccDataSourcePrivateDNSZone_basic (270.78s)
PASS
ok      github.com/hashicorp/terraform-provider-azurerm/internal/services/privatedns    273.953s

@github-actions github-actions bot added size/M and removed size/XS labels Jul 25, 2022
Copy link
Contributor

@tombuildsstuff tombuildsstuff left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for this @owenfarrell

@tombuildsstuff tombuildsstuff merged commit 03e45c1 into hashicorp:main Jul 31, 2022
@github-actions github-actions bot added this to the v3.16.0 milestone Jul 31, 2022
@tombuildsstuff tombuildsstuff modified the milestones: v3.16.0, v3.17.0 Jul 31, 2022
tombuildsstuff added a commit that referenced this pull request Jul 31, 2022
@owenfarrell owenfarrell deleted the private_dns_zone_data_source branch August 1, 2022 13:48
@github-actions
Copy link

github-actions bot commented Aug 5, 2022

This functionality has been released in v3.17.0 of the Terraform 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

github-actions bot commented Sep 5, 2022

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 contributions.
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 Sep 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

data "azurerm_private_dns_zone" no longer looks up resource group starting in v3.8.0
2 participants