File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/ALZ/Private/Deploy-Accelerator-Helpers Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ function New-Bootstrap {
248248 }
249249 }
250250
251- if ($iac -eq " bicep" ) {
251+ if ($iac -eq " bicep" -or $iac -eq " bicep-avm " ) {
252252 Copy-ParametersFileCollection - starterPath $starterModulePath - configFiles $starterConfig.starter_modules.Value .$ ($inputConfig.starter_module_name.Value ).deployment_files
253253 Set-ComputedConfiguration - configuration $starterConfiguration
254254 Edit-ALZConfigurationFilesInPlace - alzEnvironmentDestination $starterModulePath - configuration $starterConfiguration
@@ -258,9 +258,10 @@ function New-Bootstrap {
258258 $foldersOrFilesToRetain = $starterConfig.starter_modules.Value .$ ($inputConfig.starter_module_name.Value ).folders_or_files_to_retain
259259 $foldersOrFilesToRetain += " parameters.json"
260260 $foldersOrFilesToRetain += " config"
261+ $foldersOrFilesToRetain += " .config"
261262 $foldersOrFilesToRetain += " starter-cache.json"
262263
263- foreach ($deployment_file in $starterConfig.starter_modules.Value .$ ($inputConfig.starter_module_name.Value ).deployment_files) {
264+ foreach ($deployment_file in $starterConfig.starter_modules.Value .$ ($inputConfig.starter_module_name.Value ).deployment_files) {
264265 $foldersOrFilesToRetain += $deployment_file.templateParametersSourceFilePath
265266 }
266267
You can’t perform that action at this time.
0 commit comments