From f0d5a96464f01369899ab3c4ddd52331377b4661 Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Thu, 30 Apr 2020 23:46:06 -0700 Subject: [PATCH] Update deprecated command in azure script (#6056) apply-rg_2.sh uses 'az group deployment' command but the command is deprecated like the following warning message: "This command is implicitly deprecated because command group 'group deployment' is deprecated and will be removed in a future release. Use 'deployment group' instead." This updates these deprecated commands. FYI: The command has been deprecated since [1] on azure-cli side. [1]: https://github.com/Azure/azure-cli/commit/991cb7cc7c9e577d8bec3b78e0316dfb5d39fe10#diff-2057bbb8441166e4910b34b09d22b58cR222 --- contrib/azurerm/apply-rg_2.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/contrib/azurerm/apply-rg_2.sh b/contrib/azurerm/apply-rg_2.sh index 4adfc414f..2348169d4 100755 --- a/contrib/azurerm/apply-rg_2.sh +++ b/contrib/azurerm/apply-rg_2.sh @@ -11,9 +11,9 @@ fi ansible-playbook generate-templates.yml -az group deployment create --template-file ./.generated/network.json -g $AZURE_RESOURCE_GROUP -az group deployment create --template-file ./.generated/storage.json -g $AZURE_RESOURCE_GROUP -az group deployment create --template-file ./.generated/availability-sets.json -g $AZURE_RESOURCE_GROUP -az group deployment create --template-file ./.generated/bastion.json -g $AZURE_RESOURCE_GROUP -az group deployment create --template-file ./.generated/masters.json -g $AZURE_RESOURCE_GROUP -az group deployment create --template-file ./.generated/minions.json -g $AZURE_RESOURCE_GROUP +az deployment group create --template-file ./.generated/network.json -g $AZURE_RESOURCE_GROUP +az deployment group create --template-file ./.generated/storage.json -g $AZURE_RESOURCE_GROUP +az deployment group create --template-file ./.generated/availability-sets.json -g $AZURE_RESOURCE_GROUP +az deployment group create --template-file ./.generated/bastion.json -g $AZURE_RESOURCE_GROUP +az deployment group create --template-file ./.generated/masters.json -g $AZURE_RESOURCE_GROUP +az deployment group create --template-file ./.generated/minions.json -g $AZURE_RESOURCE_GROUP