File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
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 {
169169 )]
170170 [Alias (" tj" )]
171171 [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
173181 )
174182
175183 $ProgressPreference = " SilentlyContinue"
176184
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+ }
179191
180192 Write-InformationColored " Getting ready to deploy the accelerator with you..." - ForegroundColor Green - InformationAction Continue
181193
You can’t perform that action at this time.
0 commit comments