Skip to content

Commit 808466c

Browse files
Merge pull request #285594 from johnmarco/jm-aro-deploy-arm-update
ARO: Fix for ARM deploy template
2 parents f6887d6 + 7145172 commit 808466c

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

articles/openshift/quickstart-openshift-arm-bicep-template.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.service: azure-redhat-openshift
66
ms.topic: quickstart
77
ms.custom: mode-arm, devx-track-azurecli, devx-track-azurepowershell, devx-track-arm-template, devx-track-bicep
88
ms.author: johnmarc
9-
ms.date: 07/15/2024
9+
ms.date: 08/27/2024
1010
keywords: azure, openshift, aro, red hat, arm, bicep
1111
zone_pivot_groups: azure-red-hat-openshift
1212
#Customer intent: I need to use ARM templates or Bicep files to deploy my Azure Red Hat OpenShift cluster.
@@ -64,7 +64,7 @@ The template defines three Azure resources:
6464

6565
More Azure Red Hat OpenShift template samples can be found on the [Red Hat OpenShift web site](https://docs.openshift.com/container-platform/4.9/installing/installing_azure/installing-azure-user-infra.html).
6666

67-
Save the following example as *azuredeploy.bicep*:
67+
Save the following example as *azuredeploy.json*:
6868

6969
```json
7070
{
@@ -809,6 +809,27 @@ ARO_RP_SP_OBJECT_ID=$(az ad sp list --display-name "Azure Red Hat OpenShift RP"
809809

810810
### Deploy the cluster - Azure CLI
811811

812+
::: zone pivot="aro-arm"
813+
814+
```azurecli-interactive
815+
az deployment group create \
816+
--name aroDeployment \
817+
--resource-group $RESOURCEGROUP \
818+
--template-file azuredeploy.json \
819+
--parameters location=$LOCATION \
820+
--parameters domain=$DOMAIN \
821+
--parameters pullSecret=$PULL_SECRET \
822+
--parameters clusterName=$ARO_CLUSTER_NAME \
823+
--parameters aadClientId=$SP_CLIENT_ID \
824+
--parameters aadObjectId=$SP_OBJECT_ID \
825+
--parameters aadClientSecret=$SP_CLIENT_SECRET \
826+
--parameters rpObjectId=$ARO_RP_SP_OBJECT_ID
827+
```
828+
::: zone-end
829+
830+
831+
::: zone pivot="aro-bicep"
832+
812833
```azurecli-interactive
813834
az deployment group create \
814835
--name aroDeployment \
@@ -823,6 +844,7 @@ az deployment group create \
823844
--parameters aadClientSecret=$SP_CLIENT_SECRET \
824845
--parameters rpObjectId=$ARO_RP_SP_OBJECT_ID
825846
```
847+
::: zone-end
826848

827849
### Connect to your cluster - Azure CLI
828850

0 commit comments

Comments
 (0)