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

Add identity MSI SystemAssigned to azurerm_recovery_services_vault #9619

Closed
LaurentLesle opened this issue Dec 2, 2020 · 5 comments · Fixed by #9689
Closed

Add identity MSI SystemAssigned to azurerm_recovery_services_vault #9619

LaurentLesle opened this issue Dec 2, 2020 · 5 comments · Fixed by #9689

Comments

@LaurentLesle
Copy link
Contributor

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
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Managed identity identity is required to enable private endpoint to ASR
Require also the identity to be exported.

New or Affected Resource(s)

  • azurerm_recovery_services_vault

Potential Terraform Configuration

resource "azurerm_recovery_services_vault" "vault" {
  name                = "example_recovery_vault"
  location            = azurerm_resource_group.rg.location
  resource_group_name = azurerm_resource_group.rg.name
  sku                 = "Standard"

 identity {
  type = "SystemAssigned"
 }
  soft_delete_enabled = true
}

References

  • #0000
@LaurentLesle
Copy link
Contributor Author

Do you know if it is possible to fast track this new feature?

@favoretti
Copy link
Collaborator

@LaurentLesle kinda fast-tracked :)

@tombuildsstuff tombuildsstuff added this to the v2.40.0 milestone Dec 7, 2020
@ghost
Copy link

ghost commented Dec 10, 2020

This has been released in version 2.40.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example:

provider "azurerm" {
    version = "~> 2.40.0"
}
# ... other configuration ...

@aharden
Copy link

aharden commented Dec 17, 2020

I'm trying to migrate an AzureRM template definition of a Recovery Services vault to this updated resource in the new provider since, like the original reporter, I need to allocate a system-managed identity to use the vault with private endpoints. The documentation doesn't list identity as an exported attribute, and my initial attempts to use that attribute are telling me that it's a list of maps, whereas I believe it should just be a string corresponding to the object ID (as reported in the Azure Portal).

@ghost
Copy link

ghost commented Jan 6, 2021

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Jan 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants