Skip to content

Commit 97a5466

Browse files
Merge pull request #278302 from mumian/0614-ds-allowSharedKeyAccess
Add additional requirements for using existing storage account in dep…
2 parents 464f64d + fcfd630 commit 97a5466

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ title: Develop a deployment script in Bicep
33
description: Learn how to develop a deployment script within a Bicep file or store one externally as a separate file.
44
ms.custom: devx-track-bicep
55
ms.topic: conceptual
6-
ms.date: 12/13/2023
6+
ms.date: 06/14/2024
77
---
88

99
# Develop a deployment script in Bicep
1010

1111
This article provides examples to show you how to develop a [deployment script](./deployment-script-bicep.md) in Bicep.
1212

13-
Deployment script resources might have a deployment duration. For efficient development and testing of these scripts, consider establishing a dedicated development environment, such as an Azure container instance or a Docker instance. For more information, see [Create a development environment](./deployment-script-bicep-configure-dev.md).
13+
Deployment script resources might have a deployment duration. For efficient development and testing of these scripts, consider establishing a dedicated development environment, such as an Azure container instance(ACI) or a Docker instance. For more information, see [Create a development environment](./deployment-script-bicep-configure-dev.md).
1414

1515
## Syntax
1616

@@ -700,6 +700,7 @@ Here are the requirements for using an existing storage account:
700700

701701
- Firewall rules for storage accounts aren't supported yet. For more information, see [Configure Azure Storage firewalls and virtual networks](../../storage/common/storage-network-security.md).
702702
- The deployment principal must have permissions to manage the storage account, which includes reading, creating, and deleting file shares. For more information, see [Configure the minimum permissions](./deployment-script-bicep.md#configure-the-minimum-permissions).
703+
- The `allowSharedKeyAccess` property of the storage account must be set to `true`. The only way to mount a storage account in Azure Container Instance(ACI) is via an access key.
703704

704705
To specify an existing storage account, add the following Bicep code to the property element of `Microsoft.Resources/deploymentScripts`:
705706

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use deployment scripts in templates | Microsoft Docs
33
description: Use deployment scripts in Azure Resource Manager templates.
44
ms.custom: devx-track-arm-template
55
ms.topic: conceptual
6-
ms.date: 04/09/2024
6+
ms.date: 06/14/2024
77
---
88

99
# Use deployment scripts in ARM templates
@@ -298,6 +298,7 @@ A storage account and a container instance are needed for script execution and t
298298

299299
- Storage account firewall rules aren't supported yet. For more information, see [Configure Azure Storage firewalls and virtual networks](../../storage/common/storage-network-security.md).
300300
- Deployment principal must have permissions to manage the storage account, which includes read, create, delete file shares.
301+
- The `allowSharedKeyAccess` property of the storage account must be set to `true`. The only way to mount a storage account in Azure Container Instance(ACI) is via an access key.
301302

302303
To specify an existing storage account, add the following JSON to the property element of `Microsoft.Resources/deploymentScripts`:
303304

0 commit comments

Comments
 (0)