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_application_gateway - correctly poopulat the identity block #12226

Merged
merged 3 commits into from
Jun 17, 2021

Conversation

magodo
Copy link
Collaborator

@magodo magodo commented Jun 16, 2021

This PR fixes the helper flatten/expand functionality of the userAssigned identity in the identity package. Meanwhile, also fixes the only place that the prior errorneous user assigned identity is used, namely the azurerm_application_gateway data source.

Test Result

💤 TF_ACC=1 go test -v -timeout=8h ./azurerm/internal/services/network -run="TestAccDataSourceAppGateway_userAssignedIdentity"


2021/06/16 14:52:23 [DEBUG] not using binary driver name, it's no longer needed
2021/06/16 14:52:24 [DEBUG] not using binary driver name, it's no longer needed
=== RUN   TestAccDataSourceAppGateway_userAssignedIdentity
=== PAUSE TestAccDataSourceAppGateway_userAssignedIdentity
=== CONT  TestAccDataSourceAppGateway_userAssignedIdentity
--- PASS: TestAccDataSourceAppGateway_userAssignedIdentity (996.53s)
PASS
ok      github.com/terraform-providers/terraform-provider-azurerm/azurerm/internal/services/network     996.907s

@github-actions github-actions bot added size/M and removed size/S labels Jun 16, 2021
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 👍

@katbyte katbyte added this to the v2.64.0 milestone Jun 17, 2021
@katbyte katbyte changed the title Fix identity for userAssigned azurerm_application_gateway - correctly poopulat the identity block Jun 17, 2021
@katbyte katbyte merged commit 7f91fe5 into hashicorp:master Jun 17, 2021
katbyte added a commit that referenced this pull request Jun 17, 2021
@github-actions
Copy link

This functionality has been released in v2.64.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

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 Jul 19, 2021
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.

3 participants