Skip to content

Commit d826edf

Browse files
DEV-157470: Added min-tls flag in storage account creation command
1 parent 5e1e03d commit d826edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vm-config/configure-lad.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ echo -e "checking if the storage account exists\n\tresource group = ${storage_gr
9797
if [[ "$storage_name" != "$(az storage account show --subscription $subscription_id -g $storage_group -n $storage_name --query name -o tsv)" ]]
9898
then
9999
echo "creating the storage account"
100-
az storage account create --subscription $subscription_id -g $storage_group -n $storage_name -l $location --sku Standard_LRS
100+
az storage account create --subscription $subscription_id -g $storage_group -n $storage_name -l $location --sku Standard_LRS --min-tls-version TLS1_2
101101
if [ $? -ne 0 ]
102102
then
103103
echo "couldn't create the storage account"

0 commit comments

Comments
 (0)