File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Original file line number Diff line number Diff line change @@ -169,13 +169,25 @@ function Deploy-Accelerator {
169
169
)]
170
170
[Alias (" tj" )]
171
171
[Alias (" convertTfvarsToJson" )]
172
- [switch ] $convert_tfvars_to_json
172
+ [switch ] $convert_tfvars_to_json ,
173
+
174
+ [Parameter (
175
+ Mandatory = $false ,
176
+ HelpMessage = " [OPTIONAL] Determines whether to skip the requirements check. This is not recommended."
177
+ )]
178
+ [Alias (" sr" )]
179
+ [Alias (" skipRequirementsCheck" )]
180
+ [switch ] $skip_requirements_check
173
181
)
174
182
175
183
$ProgressPreference = " SilentlyContinue"
176
184
177
- Write-InformationColored " Checking the software requirements for the Accelerator..." - ForegroundColor Green - InformationAction Continue
178
- Test-Tooling
185
+ if (-not $skip_requirements_check ) {
186
+ Write-InformationColored " Checking the software requirements for the Accelerator..." - ForegroundColor Green - InformationAction Continue
187
+ Test-Tooling
188
+ } else {
189
+ Write-InformationColored " Skipping the software requirements check..." - ForegroundColor Yellow - InformationAction Continue
190
+ }
179
191
180
192
Write-InformationColored " Getting ready to deploy the accelerator with you..." - ForegroundColor Green - InformationAction Continue
181
193
You can’t perform that action at this time.
0 commit comments