You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write-InformationColored"The starter module name '$($starter_module_name)' does not exist in the starter configuration. Please check your input and try again."-ForegroundColor Red -InformationAction Continue
107
+
throw"The starter module name '$($starter_module_name)' does not exist in the starter configuration. Please check your input and try again."
Copy file name to clipboardExpand all lines: src/ALZ/Public/Deploy-Accelerator.ps1
+3-24Lines changed: 3 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -20,29 +20,6 @@ function Deploy-Accelerator {
20
20
[Alias("inputConfigFilePath")]
21
21
[string[]] $inputConfigFilePaths=@(),
22
22
23
-
[Parameter(
24
-
Mandatory=$false,
25
-
HelpMessage="[REQUIRED] The infrastructure as code type to target. Supported options are 'bicep', 'bicep-classic', 'terraform' or 'local'. Environment variable: ALZ_iac_type. Config file input: iac_type.")]
26
-
[Alias("i")]
27
-
[Alias("iac")]
28
-
[string] $iac_type="",
29
-
30
-
[Parameter(
31
-
Mandatory=$false,
32
-
HelpMessage="[REQUIRED] The bootstrap module to deploy. Environment variable: ALZ_bootstrap_module_name. Config file input: bootstrap_module_name."
33
-
)]
34
-
[Alias("b")]
35
-
[Alias("bootstrap")]
36
-
[string] $bootstrap_module_name="",
37
-
38
-
[Parameter(
39
-
Mandatory=$false,
40
-
HelpMessage="[REQUIRED] The starter module to deploy. Environment variable: ALZ_starter_module_name. Config file input: starter_module_name."
41
-
)]
42
-
[Alias("s")]
43
-
[Alias("starter")]
44
-
[string] $starter_module_name="",
45
-
46
23
[Parameter(
47
24
Mandatory=$false,
48
25
HelpMessage="[OPTIONAL] The additional files or folders to be copied directly to the starter module root folder. Environment variable: ALZ_starter_additional_files. Config file input: starter_additional_files."
@@ -306,9 +283,11 @@ function Deploy-Accelerator {
306
283
throw"No bootstrap module has been specified. Please supply the bootstrap module you wish to deploy..."
0 commit comments