Skip to content

Commit 4f5bcde

Browse files
Merge pull request #237834 from mumian/0511-ds-image
add information about powershell version and ubuntu version
2 parents 63cdfa2 + 6a35977 commit 4f5bcde

File tree

3 files changed

+27
-13
lines changed

3 files changed

+27
-13
lines changed

articles/azure-resource-manager/bicep/deployment-script-bicep.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: mumian
66
ms.service: azure-resource-manager
77
ms.custom: devx-track-bicep
88
ms.topic: conceptual
9-
ms.date: 05/11/2023
9+
ms.date: 05/12/2023
1010
ms.author: jgao
1111
---
1212

@@ -148,10 +148,19 @@ Property value details:
148148
- `forceUpdateTag`: Changing this value between Bicep file deployments forces the deployment script to re-execute. If you use the `newGuid()` or the `utcNow()` functions, both functions can only be used in the default value for a parameter. To learn more, see [Run script more than once](#run-script-more-than-once).
149149
- `containerSettings`: Specify the settings to customize Azure Container Instance. Deployment script requires a new Azure Container Instance. You can't specify an existing Azure Container Instance. However, you can customize the container group name by using `containerGroupName`. If not specified, the group name is automatically generated.
150150
- `storageAccountSettings`: Specify the settings to use an existing storage account. If `storageAccountName` is not specified, a storage account is automatically created. See [Use an existing storage account](#use-existing-storage-account).
151-
- `azPowerShellVersion`/`azCliVersion`: Specify the module version to be used. See a list of [supported Azure PowerShell versions](https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list). See a list of [supported Azure CLI versions](https://mcr.microsoft.com/v2/azure-cli/tags/list).
151+
- `azPowerShellVersion`/`azCliVersion`: Specify the module version to be used. See a list of [supported Azure PowerShell versions](https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list). The version determines which container image to use:
152152

153-
>[!IMPORTANT]
154-
> Deployment script uses the available CLI images from Microsoft Container Registry (MCR). It takes about one month to certify a CLI image for deployment script. Don't use the CLI versions that were released within 30 days. To find the release dates for the images, see [Azure CLI release notes](/cli/azure/release-notes-azure-cli). If an unsupported version is used, the error message lists the supported versions.
153+
- **Az version greater than or equal to 9** uses Ubuntu 22.04.
154+
- **Az version greater than or equal to 6 but less than 9** uses Ubuntu 20.04.
155+
- **Az version less than 6** uses Ubuntu 18.04.
156+
157+
> [!IMPORTANT]
158+
> It is advisable to upgrade to the latest version of Ubuntu, as Ubuntu 18.04 is nearing its end of life and will no longer receive security updates beyond [May 31st, 2023](https://ubuntu.com/18-04).
159+
160+
See a list of [supported Azure CLI versions](https://mcr.microsoft.com/v2/azure-cli/tags/list).
161+
162+
> [!IMPORTANT]
163+
> Deployment script uses the available CLI images from Microsoft Container Registry (MCR). It typically takes approximatedly one month to certify a CLI image for deployment script. Don't use the CLI versions that were released within 30 days. To find the release dates for the images, see [Azure CLI release notes](/cli/azure/release-notes-azure-cli). If an unsupported version is used, the error message lists the supported versions.
155164
156165
- `arguments`: Specify the parameter values. The values are separated by spaces.
157166

articles/azure-resource-manager/templates/deployment-script-template-configure-dev.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
---
22
title: Configure development environment for deployment scripts in templates | Microsoft Docs
33
description: Configure development environment for deployment scripts in Azure Resource Manager templates (ARM templates).
4-
services: azure-resource-manager
5-
author: mumian
6-
ms.service: azure-resource-manager
74
ms.topic: conceptual
85
ms.date: 12/14/2020
9-
ms.author: jgao
106
ms.custom: devx-track-azurepowershell, devx-track-azurecli, devx-track-arm-template
117
ms.devlang: azurecli
128
---
@@ -68,7 +64,7 @@ The following Azure Resource Manager template (ARM template) creates a container
6864
},
6965
"containerImage": {
7066
"type": "string",
71-
"defaultValue": "mcr.microsoft.com/azuredeploymentscripts-powershell:az5.2",
67+
"defaultValue": "mcr.microsoft.com/azuredeploymentscripts-powershell:az9.7",
7268
"metadata": {
7369
"description": "Specify the container image."
7470
}
@@ -170,7 +166,7 @@ The following Azure Resource Manager template (ARM template) creates a container
170166

171167
The default value for the mount path is `/mnt/azscripts/azscriptinput`. This is the path in the container instance where it's mounted to the file share.
172168

173-
The default container image specified in the template is **mcr.microsoft.com/azuredeploymentscripts-powershell:az5.2**. See a list of all [supported Azure PowerShell versions](https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list).
169+
The default container image specified in the template is **mcr.microsoft.com/azuredeploymentscripts-powershell:az9.7**. See a list of all [supported Azure PowerShell versions](https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list).
174170

175171
The template suspends the container instance after 1,800 seconds. You have 30 minutes before the container instance goes into a terminated state and the session ends.
176172

articles/azure-resource-manager/templates/deployment-script-template.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,19 @@ Property value details:
153153
- `forceUpdateTag`: Changing this value between template deployments forces the deployment script to re-execute. If you use the `newGuid()` or the `utcNow()` functions, both functions can only be used in the default value for a parameter. To learn more, see [Run script more than once](#run-script-more-than-once).
154154
- `containerSettings`: Specify the settings to customize Azure Container Instance. Deployment script requires a new Azure Container Instance. You can't specify an existing Azure Container Instance. However, you can customize the container group name by using `containerGroupName`. If not specified, the group name is automatically generated.
155155
- `storageAccountSettings`: Specify the settings to use an existing storage account. If `storageAccountName` isn't specified, a storage account is automatically created. See [Use an existing storage account](#use-existing-storage-account).
156-
- `azPowerShellVersion`/`azCliVersion`: Specify the module version to be used. See a list of [supported Azure PowerShell versions](https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list). See a list of [supported Azure CLI versions](https://mcr.microsoft.com/v2/azure-cli/tags/list).
156+
- `azPowerShellVersion`/`azCliVersion`: Specify the module version to be used. See a list of [supported Azure PowerShell versions](https://mcr.microsoft.com/v2/azuredeploymentscripts-powershell/tags/list). The version determines which container image to use:
157157

158-
>[!IMPORTANT]
159-
> Deployment script uses the available CLI images from Microsoft Container Registry (MCR). It takes about one month to certify a CLI image for deployment script. Don't use the CLI versions that were released within 30 days. To find the release dates for the images, see [Azure CLI release notes](/cli/azure/release-notes-azure-cli). If an unsupported version is used, the error message lists the supported versions.
158+
- **Az version greater than or equal to 9** uses Ubuntu 22.04.
159+
- **Az version greater than or equal to 6 but less than 9** uses Ubuntu 20.04.
160+
- **Az version less than 6** uses Ubuntu 18.04.
161+
162+
> [!IMPORTANT]
163+
> It is advisable to upgrade to the latest version of Ubuntu, as Ubuntu 18.04 is nearing its end of life and will no longer receive security updates beyond [May 31st, 2023](https://ubuntu.com/18-04).
164+
165+
See a list of [supported Azure CLI versions](https://mcr.microsoft.com/v2/azure-cli/tags/list).
166+
167+
> [!IMPORTANT]
168+
> Deployment script uses the available CLI images from Microsoft Container Registry (MCR). It typically takes approximatedly one month to certify a CLI image for deployment script. Don't use the CLI versions that were released within 30 days. To find the release dates for the images, see [Azure CLI release notes](/cli/azure/release-notes-azure-cli). If an unsupported version is used, the error message lists the supported versions.
160169
161170
- `arguments`: Specify the parameter values. The values are separated by spaces.
162171

0 commit comments

Comments
 (0)