Skip to content

Commit f426b23

Browse files
angie4uFlorian Wagner
authored andcommitted
change variable type from string to boolean (#18)
1 parent 0000b76 commit f426b23

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Deploy/CreateOrImportSSL.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ param(
4545

4646
# $True -> Use Let's Encrypt staging for script testing (Bot cannot be reached from Bot Framework Service) - Default: $False
4747
[Parameter(HelpMessage="`$True -> Use Let's Encrypt staging for script testing (Bot cannot be reached from Bot Framework Service) - Default: `$False")]
48-
[string] $LETS_ENCRYPT_STAGING = $False,
48+
[bool] $LETS_ENCRYPT_STAGING = $False,
4949

5050
# SSL CERT (PFX Format) file location
5151
[Parameter(HelpMessage="SSL CERT (PFX Format) file location")]

Deploy/CreateSSL.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ param(
3838

3939
# $True -> Use Let's Encrypt staging for script testing (Bot cannot be reached from Bot Framework Service) - Default: $False
4040
[Parameter(HelpMessage="`$True -> Use Let's Encrypt staging for script testing (Bot cannot be reached from Bot Framework Service) - Default: `$False")]
41-
[string] $LETS_ENCRYPT_STAGING = $False,
41+
[bool] $LETS_ENCRYPT_STAGING = $False,
4242

4343
# Terraform Automation Flag. $False -> Interactive, Approval $True -> Automatic Approval
4444
[Parameter(HelpMessage="Terraform Automation Flag. `$False -> Interactive, Approval `$True -> Automatic Approval")]
@@ -59,11 +59,11 @@ $waitretrysec = 10
5959
$loopmax = (60 * $MAX_WAIT_TIME_MIN ) / $waitretrysec
6060
$terraformFolder = "SSLIssuing"
6161
$iaCFolder = "IaC"
62+
$PRODUCTION = 1
6263
if ($LETS_ENCRYPT_STAGING) {
6364
$PRODUCTION = 0
64-
} else {
65-
$PRODUCTION = 1
66-
}
65+
}
66+
6767
# Import Helper functions
6868
. "$($MyInvocation.MyCommand.Path -replace($MyInvocation.MyCommand.Name))\HelperFunctions.ps1"
6969
# Tell who you are (See HelperFunction.ps1)

Deploy/OneClickDeploy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ param(
5858

5959
# $True -> Use Let's Encrypt staging for script testing (Bot cannot be reached from Bot Framework Service) - Default: $False
6060
[Parameter(HelpMessage="`$True -> Use Let's Encrypt staging for script testing (Bot cannot be reached from Bot Framework Service) - Default: `$False")]
61-
[string] $LETS_ENCRYPT_STAGING = $False,
61+
[bool] $LETS_ENCRYPT_STAGING = $False,
6262

6363
# SSL CERT (PFX Format) file location
6464
[Parameter(HelpMessage="SSL CERT (PFX Format) file location")]

0 commit comments

Comments
 (0)