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 MSI support also for app service deployment slots #1268

Closed
perbergland opened this issue May 21, 2018 · 2 comments · Fixed by #1579
Closed

Add MSI support also for app service deployment slots #1268

perbergland opened this issue May 21, 2018 · 2 comments · Fixed by #1579

Comments

@perbergland
Copy link

perbergland commented May 21, 2018

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

#1130 (big thank you!) brought support for enabling MSI for appservices ("SystemAssigned" Identity).

The missing piece is to support this also for deployment slots. According to this thread, this is now supported - in preview like for the primary slot.

New or Affected Resource(s)

  • azurerm_app_service_slot

Potential Terraform Configuration

azurerm_app_service_slot {
...
  identity = {
    type = "SystemAssigned"
  }
}

References

@perbergland
Copy link
Author

Here's how to do it manually using Azure CLI (the fact that you can send in the path of a webapp slot into the webapp command is not documented AFAICT)

az webapp identity assign -n "mainapp/slots/slotname" -g "resourcegroup"
{
  "additionalProperties": {},
  "principalId": "<guid>",
  "tenantId": "<guid>",
  "type": "SystemAssigned"
}

stack72 added a commit to stack72/terraform-provider-azurerm that referenced this issue Jul 15, 2018
stack72 added a commit to stack72/terraform-provider-azurerm that referenced this issue Jul 15, 2018
tombuildsstuff pushed a commit that referenced this issue Jul 16, 2018
* resource/app_service_slot: Add support for enabling MSI

Fixes: #1268

* App Service -> App Service Slot
@ghost
Copy link

ghost commented Mar 30, 2020

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 and limited conversation to collaborators Mar 30, 2020
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.

2 participants