webapp_grant_cr_access
Grant a web app access to an Azure Container Registry by assigning an RBAC role like AcrPull or AcrPush. Specify web app and registry details to enable container pulls or pushes.
Instructions
Grant Web App access to Container Registry via RBAC.
Args: webapp_name: Web app name resource_group: Resource group containing the web app registry_name: Container registry name registry_resource_group: Resource group containing the registry role: Role name (AcrPull, AcrPush, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webapp_name | Yes | ||
| resource_group | Yes | ||
| registry_name | Yes | ||
| registry_resource_group | Yes | ||
| role | No | AcrPull |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |