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 - identity block - type, should default to UserAssigned as it's the only allowed value #15445

Closed
jdelforno opened this issue Feb 16, 2022 · 2 comments
Labels

Comments

@jdelforno
Copy link

jdelforno commented Feb 16, 2022

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 "me too" comments, they generate extra noise for issue followers and do not help prioritize the request

Terraform (and AzureRM Provider) Version

  • Terraform Core version: 1.15
  • AzureRM Provider version: 2.96.0

Terraform Configuration Files

N/A - Issue is rather straight forward.

Description / Feedback

Default the Identity type to "UserAssigned" as it's currently the only type available.

Edit: Also since upgrading, I'm now constantly seeing the Application Gateway doing an in-place upgrade for the Identity block.

@tombuildsstuff
Copy link
Contributor

hi @jdelforno

We're currently working through making the identity block behaviourally consistent across the Provider (see #15187 for details) - as a part of this we're moving to be behaviourally consistent in requiring that the identity block is specified when a Managed Identity is assigned to a resource, so that users can be sure an identity is present.

As such in order to be behaviourally consistent across the provider, unfortunately we have no plans to make this field optional & defaulted - as this would mean a breaking change to the configuration should other Identity types (such as SystemAssigned, or SystemAssigned, UserAssigned) become available in the future.

The other issue here (the identity block not being set into the state) is a regression which has been previously opened in #15411 and has been fixed by #15412 which will ship in the next release.

Thanks!

@github-actions
Copy link

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 have found a problem that seems similar to this, 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 Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants