Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove subscription selection from hubPeeredSpoke module readme #272

Merged
merged 1 commit into from
Jun 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions infra-as-code/bicep/orchestration/hubPeeredSpoke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ In this example, the spoke resources will be deployed to the resource group spec
### Azure CLI
```bash
# For Azure global regions
# Set Azure Corp Landing zone subscription ID as the the current subscription
LandingZoneSubscriptionId="[your landing zone subscription ID]"
az account set --subscription $LandingZoneSubscriptionId

az deployment mg create \
--template-file infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep \
--parameters @infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json \
Expand All @@ -70,10 +66,6 @@ az deployment mg create \
OR
```bash
# For Azure China regions
# Set Azure Corp Landing zone subscription ID as the the current subscription
LandingZoneSubscriptionId="[your landing zone subscription ID]"
az account set --subscription $LandingZoneSubscriptionId

az deployment mg create \
--template-file infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep \
--parameters @infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json \
Expand All @@ -85,10 +77,6 @@ az deployment mg create \

```powershell
# For Azure global regions
# Set Azure Corp Landing zone subscription ID as the the current subscription
$LandingZoneSubscriptionId="[your landing zone subscription ID]"
Select-AzSubscription -SubscriptionId $LandingZoneSubscriptionId

New-AzManagementGroupDeployment `
-TemplateFile infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep `
-TemplateParameterFile infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json `
Expand All @@ -98,12 +86,6 @@ New-AzManagementGroupDeployment `
OR
```powershell
# For Azure China regions
# Set Platform connectivity subscription ID as the the current subscription
$LandingZoneSubscriptionId="[your landing zone subscription ID]"
$TopLevelManagemetGroupID="alz"

Select-AzSubscription -SubscriptionId $LandingZoneSubscriptionId

New-AzManagementGroupDeployment `
-TemplateFile infra-as-code/bicep/orchestration/hubPeeredSpoke/hubPeeredSpoke.bicep `
-TemplateParameterFile infra-as-code/bicep/orchestration/hubPeeredSpoke/parameters/hubPeeredSpoke.parameters.all.json `
Expand Down