Skip to content

Commit 3d80a4d

Browse files
Apply suggestions from code review
Co-authored-by: Craig Shoemaker <[email protected]>
1 parent be672c1 commit 3d80a4d

File tree

1 file changed

+37
-37
lines changed

1 file changed

+37
-37
lines changed

articles/container-apps/managed-identity-image-pull.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ This article describes how to configure your container app to use managed identi
246246
247247
[!INCLUDE [container-apps-create-cli-steps.md](../../includes/container-apps-create-cli-steps.md)]
248248
249-
Next, set the following environment variables. Replace the *\<PLACEHOLDERS\>* with your own values.
249+
Next, set the following environment variables. Replace the placeholders surrounded by `<>` with your values.
250250
251251
# [Azure CLI](#tab/azure-cli)
252252
@@ -262,12 +262,12 @@ IMAGE_NAME="<YOUR_IMAGE_NAME>"
262262
# [Azure PowerShell](#tab/azure-powershell)
263263

264264
```azurepowershell
265-
$ResourceGroupName = '<YOUR_RESOURCE_GROUP_NAME>'
266-
$Location = '<YOUR_LOCATION>'
267-
$ContainerAppsEnvironment = '<YOUR_ENVIRONMENT_NAME>'
268-
$RegistryName = '<YOUR_REGISTRY_NAME>'
269-
$ContainerAppName = '<YOUR_CONTAINERAPP_NAME>'
270-
$ImageName = '<YOUR_IMAGE_NAME>'
265+
$ResourceGroupName = '<RESOURCE_GROUP_NAME>'
266+
$Location = '<LOCATION>'
267+
$ContainerAppsEnvironment = '<ENVIRONMENT_NAME>'
268+
$RegistryName = '<REGISTRY_NAME>'
269+
$ContainerAppName = '<CONTAINERAPP_NAME>'
270+
$ImageName = '<IMAGE_NAME>'
271271
```
272272

273273
---
@@ -353,7 +353,7 @@ Follow this procedure to configure user-assigned managed identity:
353353

354354
# [Azure CLI](#tab/azure-cli)
355355

356-
Create a user-assigned managed identity. Replace the *\<PLACEHOLDERS\>* with the name of your managed identity.
356+
Create a user-assigned managed identity. Before you run the following command, replace placeholders surrounded by `<>` with the name of your managed identity.
357357

358358
```azurecli
359359
IDENTITY="<YOUR_IDENTITY_NAME>"
@@ -367,7 +367,7 @@ az identity create \
367367

368368
# [Azure PowerShell](#tab/azure-powershell)
369369

370-
Create a user-assigned managed identity. Replace the *\<Placeholders\>* with the name of your managed identity.
370+
Create a user-assigned managed identity. Before you run the following command, replace placeholders surrounded by `<>` with the name of your managed identity.
371371

372372
```azurepowershell
373373
$IdentityName = '<YourIdentityName>'
@@ -399,7 +399,7 @@ $IdentityId = (Get-AzUserAssignedIdentity -Name $IdentityName -ResourceGroupName
399399
$PrincipalId = (Get-AzUserAssignedIdentity -Name $IdentityName -ResourceGroupName $ResourceGroupName).PrincipalId
400400
```
401401

402-
Get the registry's resource ID. Replace the *\<placeholders\>* with the resource group name for your registry.
402+
Get the registry's resource ID. Before you run the following command, replace placeholders surrounded by `<>` with the resource group name for your registry.
403403

404404
```azurepowershell
405405
$RegistryId = (Get-AzContainerRegistry -ResourceGroupName <RegistryResourceGroup> -Name $RegistryName).Id
@@ -648,43 +648,43 @@ You must manually install Bicep for any use other than Azure CLI. For more infor
648648

649649
### Set environment variables
650650

651-
Next, set the following environment variables. Replace the *\<PLACEHOLDERS\>* with your own values.
651+
Next, set the following environment variables. Replace placeholders surrounded by `<>` with your values.
652652

653653
# [Azure CLI](#tab/azure-cli)
654654

655655
```azurecli
656-
RESOURCE_GROUP="<YOUR_RESOURCE_GROUP_NAME>"
657-
LOCATION="<YOUR_LOCATION>"
658-
REGISTRY_NAME="<YOUR_REGISTRY_NAME>"
659-
IMAGE_NAME="<YOUR_IMAGE_NAME>"
660-
IMAGE_TAG="<YOUR_IMAGE_TAG>"
661-
IMAGE_URL="<YOUR_IMAGE_URL>"
662-
BICEP_TEMPLATE="<YOUR_BICEP_TEMPLATE>"
663-
CONTAINERAPPS_ENVIRONMENT="<YOUR_ENVIRONMENT_NAME>"
664-
CONTAINER_NAME="<YOUR_CONTAINER_NAME>"
665-
CONTAINERAPP_NAME="<YOUR_CONTAINERAPP_NAME>"
666-
USER_ASSIGNED_IDENTITY_NAME="<YOUR_USER_ASSIGNED_IDENTITY_NAME>"
667-
LOG_ANALYTICS_WORKSPACE_NAME="<YOUR_LOG_ANALYTICS_WORKSPACE_NAME>"
668-
APP_INSIGHTS_NAME="<YOUR_APP_INSIGHTS_NAME>"
656+
RESOURCE_GROUP="<RESOURCE_GROUP_NAME>"
657+
LOCATION="<LOCATION>"
658+
REGISTRY_NAME="<REGISTRY_NAME>"
659+
IMAGE_NAME="<IMAGE_NAME>"
660+
IMAGE_TAG="<IMAGE_TAG>"
661+
IMAGE_URL="<IMAGE_URL>"
662+
BICEP_TEMPLATE="<BICEP_TEMPLATE>"
663+
CONTAINERAPPS_ENVIRONMENT="<ENVIRONMENT_NAME>"
664+
CONTAINER_NAME="<CONTAINER_NAME>"
665+
CONTAINERAPP_NAME="<CONTAINERAPP_NAME>"
666+
USER_ASSIGNED_IDENTITY_NAME="<USER_ASSIGNED_IDENTITY_NAME>"
667+
LOG_ANALYTICS_WORKSPACE_NAME="<LOG_ANALYTICS_WORKSPACE_NAME>"
668+
APP_INSIGHTS_NAME="<APP_INSIGHTS_NAME>"
669669
ACR_PULL_DEFINITION_ID="7f951dda-4ed3-4680-a7ca-43fe172d538d"
670670
```
671671

672672
# [Azure PowerShell](#tab/azure-powershell)
673673

674674
```azurepowershell
675-
$ResourceGroupName = '<YOUR_RESOURCE_GROUP_NAME>'
676-
$Location = '<YOUR_LOCATION>'
677-
$RegistryName = '<YOUR_REGISTRY_NAME>'
678-
$ImageName = '<YOUR_IMAGE_NAME>'
679-
$ImageTag = '<YOUR_IMAGE_TAG>'
680-
$ImageUrl = '<YOUR_IMAGE_URL>'
681-
$BicepTemplate = '<YOUR_BICEP_TEMPLATE>'
682-
$ContainerAppsEnvironment = '<YOUR_ENVIRONMENT_NAME>'
683-
$ContainerName = '<YOUR_CONTAINER_NAME>'
684-
$ContainerAppName = '<YOUR_CONTAINERAPP_NAME>'
685-
$UserAssignedIdentityName = '<YOUR_USER_ASSIGNED_IDENTITY_NAME>'
686-
$LogAnalyticsWorkspaceName = '<YOUR_LOG_ANALYTICS_WORKSPACE_NAME>'
687-
$AppInsightsName = '<YOUR_LOG_ANALYTICS_WORKSPACE_NAME>'
675+
$ResourceGroupName = '<RESOURCE_GROUP_NAME>'
676+
$Location = '<LOCATION>'
677+
$RegistryName = '<REGISTRY_NAME>'
678+
$ImageName = '<IMAGE_NAME>'
679+
$ImageTag = '<IMAGE_TAG>'
680+
$ImageUrl = '<IMAGE_URL>'
681+
$BicepTemplate = '<BICEP_TEMPLATE>'
682+
$ContainerAppsEnvironment = '<ENVIRONMENT_NAME>'
683+
$ContainerName = '<CONTAINER_NAME>'
684+
$ContainerAppName = '<CONTAINERAPP_NAME>'
685+
$UserAssignedIdentityName = '<USER_ASSIGNED_IDENTITY_NAME>'
686+
$LogAnalyticsWorkspaceName = '<LOG_ANALYTICS_WORKSPACE_NAME>'
687+
$AppInsightsName = '<LOG_ANALYTICS_WORKSPACE_NAME>'
688688
$AcrPullDefinitionId = '7f951dda-4ed3-4680-a7ca-43fe172d538d'
689689
```
690690

0 commit comments

Comments
 (0)