@@ -48,18 +48,18 @@ Example folder structure:
4848 ┗ 📂acc
4949 ┣ 📂bicep
5050 ┃ ┣ 📂config
51- ┃ ┃ ┣ 📜inputs-azuredevops.yaml # ./docs/wiki/examples/powershell-inputs/inputs- azure-devops-bicep-complete .yaml
52- ┃ ┃ ┣ 📜inputs-github.yaml # ./docs/wiki/examples/powershell-inputs/inputs-github-bicep-complete.yaml
53- ┃ ┃ ┗ 📜inputs-local.yaml # ./docs/wiki/examples/powershell-inputs/inputs-local-bicep-complete.yaml
51+ ┃ ┃ ┣ 📜inputs-azure-devops.yaml
52+ ┃ ┃ ┣ 📜inputs-github.yaml
53+ ┃ ┃ ┗ 📜inputs-local.yaml
5454 ┃ ┗ 📂output
5555 ┃ ┣ 📂azuredevops
5656 ┃ ┣ 📂github
5757 ┃ ┗ 📂local
5858 ┗ 📂terraform
5959 ┣ 📂config
60- ┃ ┣ 📜inputs-azuredevops.yaml # ./docs/wiki/examples/powershell-inputs/inputs- azure-devops-terraform-complete .yaml
61- ┃ ┣ 📜inputs-github.yaml # ./docs/wiki/examples/powershell-inputs/inputs-github-terraform-complete.yaml
62- ┃ ┗ 📜inputs-local.yaml # ./docs/wiki/examples/powershell-inputs/inputs-local-terraform-complete.yaml
60+ ┃ ┣ 📜inputs-azure-devops.yaml
61+ ┃ ┣ 📜inputs-github.yaml
62+ ┃ ┗ 📜inputs-local.yaml
6363 ┗ 📂output
6464 ┣ 📂azuredevops
6565 ┣ 📂github
@@ -92,21 +92,15 @@ git clone https://github.com/Azure/ALZ-PowerShell-Module
9292git clone https://github.com/Azure/alz-terraform-accelerator
9393cd /
9494
95- $exampleFolder = "$targetFolder/code/ALZ-PowerShell-Module/docs/wiki/examples/powershell-inputs"
95+ $bootstrapConfigFolderTerraform = "$targetFolder/code/alz-terraform-accelerator/templates/platform_landing_zone/examples/bootstrap"
96+ Copy-Item -Path "$bootstrapConfigFolderTerraform/inputs-azure-devops.yaml" -Destination "$terraformConfigFolder/inputs-azure-devops.yaml" -Force
97+ Copy-Item -Path "$bootstrapConfigFolderTerraform/inputs-github.yaml" -Destination "$terraformConfigFolder/inputs-github.yaml" -Force
98+ Copy-Item -Path "$bootstrapConfigFolderTerraform/inputs-local.yaml" -Destination "$terraformConfigFolder/inputs-local.yaml" -Force
9699
97- Copy-Item -Path "$exampleFolder/inputs-azure-devops-bicep-complete.yaml" -Destination "$bicepConfigFolder/inputs-azuredevops.yaml" -Force
98- Copy-Item -Path "$exampleFolder/inputs-github-bicep-complete.yaml" -Destination "$bicepConfigFolder/inputs-github.yaml" -Force
99- Copy-Item -Path "$exampleFolder/inputs-local-bicep-complete.yaml" -Destination "$bicepConfigFolder/inputs-local.yaml" -Force
100- Copy-Item -Path "$exampleFolder/inputs-azure-devops-terraform-complete-multi-region.yaml" -Destination "$terraformConfigFolder/inputs-azuredevops.yaml" -Force
101- Copy-Item -Path "$exampleFolder/inputs-github-terraform-complete-multi-region.yaml" -Destination "$terraformConfigFolder/inputs-github.yaml" -Force
102- Copy-Item -Path "$exampleFolder/inputs-local-terraform-complete-multi-region.yaml" -Destination "$terraformConfigFolder/inputs-local.yaml" -Force
103-
104- $exampleFolder = "$targetFolder/code/ALZ-PowerShell-Module/docs/wiki/examples/starter-module-config/complete-multi-region"
105-
106- Copy-Item -Path "$exampleFolder/config-hub-and-spoke-vnet-multi-region.yaml" -Destination "$terraformConfigFolder/config-hub-and-spoke-vnet-multi-region.yaml" -Force
107- Copy-Item -Path "$exampleFolder/config-hub-and-spoke-vnet-single-region.yaml" -Destination "$terraformConfigFolder/config-hub-and-spoke-vnet-single-region.yaml" -Force
108- Copy-Item -Path "$exampleFolder/config-virtual-wan-multi-region.yaml" -Destination "$terraformConfigFolder/config-virtual-wan-multi-region.yaml" -Force
109- Copy-Item -Path "$exampleFolder/config-virtual-wan-single-region.yaml" -Destination "$terraformConfigFolder/config-virtual-wan-single-region.yaml" -Force
100+ $bootstrapConfigFolderBicep = "$targetFolder/code/ALZ-Bicep/accelerator/examples/bootstrap"
101+ Copy-Item -Path "$bootstrapConfigFolderBicep/inputs-azure-devop.yaml" -Destination "$bicepConfigFolder/inputs-azure-devops.yaml" -Force
102+ Copy-Item -Path "$bootstrapConfigFolderBicep/inputs-github.yaml" -Destination "$bicepConfigFolder/inputs-github.yaml" -Force
103+ Copy-Item -Path "$bootstrapConfigFolderBicep/inputs-local.yaml" -Destination "$bicepConfigFolder/inputs-local.yaml" -Force
110104
111105```
112106
@@ -132,7 +126,8 @@ Deploy-Accelerator `
132126 -bootstrapModuleOverrideFolderPath "/$targetFolder/code/accelerator-bootstrap-modules" `
133127 -starterModuleOverrideFolderPath "/$targetFolder/code/ALZ-Bicep" `
134128 -output "/$targetFolder/acc/bicep/output/azuredevops" `
135- -inputs "/$targetFolder/acc/bicep/config/inputs-azuredevops.yaml" `
129+ -inputs "/$targetFolder/acc/bicep/config/inputs-azure-devops.yaml" `
130+ -skipAlzModuleVersionRequirementsCheck `
136131 -verbose `
137132 -replaceFiles # This will replace the files in the output folder with the files in the bootstrap and starter modules, so any updates are taken into account
138133
@@ -157,6 +152,7 @@ Deploy-Accelerator `
157152 -starterModuleOverrideFolderPath "/$targetFolder/code/ALZ-Bicep" `
158153 -output "/$targetFolder/acc/bicep/output/github" `
159154 -inputs "/$targetFolder/acc/bicep/config/inputs-github.yaml" `
155+ -skipAlzModuleVersionRequirementsCheck `
160156 -verbose `
161157 -replaceFiles # This will replace the files in the output folder with the files in the bootstrap and starter modules, so any updates are taken into account
162158
@@ -181,6 +177,7 @@ Deploy-Accelerator `
181177 -starterModuleOverrideFolderPath "/$targetFolder/code/ALZ-Bicep" `
182178 -output "/$targetFolder/acc/bicep/output/local" `
183179 -inputs "/$targetFolder/acc/bicep/config/inputs-local.yaml" `
180+ -skipAlzModuleVersionRequirementsCheck `
184181 -verbose `
185182 -replaceFiles # This will replace the files in the output folder with the files in the bootstrap and starter modules, so any updates are taken into account
186183
@@ -196,6 +193,7 @@ Run this from the VSCode terminal for the ALZ-PowerShell-Module repository:
196193Invoke-Build -File .\src\ALZ.build.ps1
197194
198195$targetFolder = "dev"
196+ $bootstrapConfigFolderTerraform = "$targetFolder/code/alz-terraform-accelerator/templates/platform_landing_zone/examples/full-multi-region"
199197
200198# Uncomment to start fresh rather than relying on the -replaceFiles parameter
201199# Remove-Item -Path "/$targetFolder/acc/terraform/output/azuredevops" -Recurse -Force
@@ -204,7 +202,8 @@ Deploy-Accelerator `
204202 -bootstrapModuleOverrideFolderPath "/$targetFolder/code/accelerator-bootstrap-modules" `
205203 -starterModuleOverrideFolderPath "/$targetFolder/code/alz-terraform-accelerator/templates" `
206204 -output "/$targetFolder/acc/terraform/output/azuredevops" `
207- -inputs "/$targetFolder/acc/terraform/config/inputs-azuredevops.yaml", "/$targetFolder/acc/terraform/config/config-hub-and-spoke-vnet-multi-region.yaml" `
205+ -inputs "/$targetFolder/acc/terraform/config/inputs-azuredevops.yaml", "/$bootstrapConfigFolderTerraform/hub-and-spoke-vnet.tfvars" `
206+ -skipAlzModuleVersionRequirementsCheck `
208207 -verbose `
209208 -replaceFiles # This will replace the files in the output folder with the files in the bootstrap and starter modules, so any updates are taken into account
210209
@@ -222,6 +221,7 @@ Run this from the VSCode terminal for the ALZ-PowerShell-Module repository:
222221Invoke-Build -File .\src\ALZ.build.ps1
223222
224223$targetFolder = "dev"
224+ $bootstrapConfigFolderTerraform = "$targetFolder/code/alz-terraform-accelerator/templates/platform_landing_zone/examples/full-multi-region"
225225
226226# Uncomment to start fresh rather than relying on the -replaceFiles parameter
227227# Remove-Item -Path "/$targetFolder/acc/terraform/output/github" -Recurse -Force
@@ -230,7 +230,8 @@ Deploy-Accelerator `
230230 -bootstrapModuleOverrideFolderPath "/$targetFolder/code/accelerator-bootstrap-modules" `
231231 -starterModuleOverrideFolderPath "/$targetFolder/code/alz-terraform-accelerator/templates" `
232232 -output "/$targetFolder/acc/terraform/output/github" `
233- -inputs "/$targetFolder/acc/terraform/config/inputs-github.yaml", "/$targetFolder/acc/terraform/config/config-hub-and-spoke-vnet-multi-region.yaml" `
233+ -inputs "/$targetFolder/acc/terraform/config/inputs-github.yaml", "/$bootstrapConfigFolderTerraform/hub-and-spoke-vnet.tfvars" `
234+ -skipAlzModuleVersionRequirementsCheck `
234235 -verbose `
235236 -replaceFiles # This will replace the files in the output folder with the files in the bootstrap and starter modules, so any updates are taken into account
236237
@@ -248,6 +249,7 @@ Run this from the VSCode terminal for the ALZ-PowerShell-Module repository:
248249Invoke-Build -File .\src\ALZ.build.ps1
249250
250251$targetFolder = "dev"
252+ $bootstrapConfigFolderTerraform = "$targetFolder/code/alz-terraform-accelerator/templates/platform_landing_zone/examples/full-multi-region"
251253
252254# Uncomment to start fresh rather than relying on the -replaceFiles parameter
253255# Remove-Item -Path "/$targetFolder/acc/terraform/output/azuredevops" -Recurse -Force
@@ -256,7 +258,8 @@ Deploy-Accelerator `
256258 -bootstrapModuleOverrideFolderPath "/$targetFolder/code/accelerator-bootstrap-modules" `
257259 -starterModuleOverrideFolderPath "/$targetFolder/code/alz-terraform-accelerator/templates" `
258260 -output "/$targetFolder/acc/terraform/output/local" `
259- -inputs "/$targetFolder/acc/terraform/config/inputs-local.yaml", "/$targetFolder/acc/terraform/config/config-hub-and-spoke-vnet-multi-region.yaml" `
261+ -inputs "/$targetFolder/acc/terraform/config/inputs-local.yaml", "/$bootstrapConfigFolderTerraform/hub-and-spoke-vnet.tfvars" `
262+ -skipAlzModuleVersionRequirementsCheck `
260263 -verbose `
261264 -replaceFiles # This will replace the files in the output folder with the files in the bootstrap and starter modules, so any updates are taken into account
262265
0 commit comments