Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Adding RDGW condition
Browse files Browse the repository at this point in the history
  • Loading branch information
davmayd committed Nov 5, 2020
1 parent 6863fa9 commit 69938f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .taskcat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tests:
parameters:
ADScenarioType: AWS Managed Microsoft AD(Standard Edition)
AvailabilityZones: $[taskcat_genaz_2]
DeployRDGW: 'No'
RDGWCIDR: 0.0.0.0/0
KeyPairName: $[taskcat_getkeypair]
DomainAdminPassword: $[taskcat_genpass_16]
Expand All @@ -38,6 +39,7 @@ tests:
parameters:
ADScenarioType: Microsoft AD on Amazon EC2
AvailabilityZones: $[taskcat_genaz_2]
DeployRDGW: 'No'
RDGWCIDR: 0.0.0.0/0
KeyPairName: $[taskcat_getkeypair]
DomainAdminPassword: $[taskcat_genpass_16]
Expand All @@ -56,6 +58,7 @@ tests:
ADScenarioType: AWS Managed Microsoft AD(Standard Edition)
FSxEncryptionKey: GenerateKey
AvailabilityZones: $[taskcat_genaz_2]
DeployRDGW: 'No'
RDGWCIDR: 0.0.0.0/0
KeyPairName: $[taskcat_getkeypair]
DomainAdminPassword: $[taskcat_genpass_16]
Expand Down
12 changes: 12 additions & 0 deletions templates/fsx-windows-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Metadata:
- Label:
default: RD Gateway configuration
Parameters:
- DeployRDGW
- RDGWInstanceType
- NumberOfRDGWHosts
- RDGWCIDR
Expand Down Expand Up @@ -78,6 +79,8 @@ Metadata:
default: Type of Active Directory deployment
BackupRetention:
default: Automated backup retention
DeployRDGW:
default: Deploy RD Gateway
DailyBackupTime:
default: Daily backup start time
DomainAdminPassword:
Expand Down Expand Up @@ -204,6 +207,13 @@ Parameters:
for backups is 35 days.
Default: 7
Type: Number
DeployRDGW:
Description: Deploy Remote Desktop Gateway
Type: String
AllowedValues:
- 'Yes'
- 'No'
Default: 'Yes'
DailyBackupTime:
Description: Specify the preferred time to take daily automatic backups, formatted HH:MM in the UTC time zone.
Default: '01:00'
Expand Down Expand Up @@ -387,6 +397,7 @@ Conditions:
- !Ref 'AWS::Region'
- us-gov-west-1
UsingDefaultBucket: !Equals [!Ref QSS3BucketName, 'aws-quickstart']
CreateRDGW: !Equals [!Ref DeployRDGW, 'Yes']
Resources:
VPCStack:
Type: AWS::CloudFormation::Stack
Expand Down Expand Up @@ -518,6 +529,7 @@ Resources:
WeeklyMaintenanceTime: !Ref 'WeeklyMaintenanceTime'
RDGWStack:
Type: AWS::CloudFormation::Stack
Condition: CreateRDGW
Properties:
TemplateURL:
!Sub
Expand Down

0 comments on commit 69938f6

Please sign in to comment.