templates/main-existing-vpc.template.yaml [363:378]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        MicrosoftAD: !GetAtt 'ADStack.Outputs.MicrosoftAD'
        HeadNodeInstanceType: !Ref 'HeadNodeInstanceType'
        HeadNodeNetBIOSName: !Ref 'HeadNodeNetBIOSName'
        RemoteAccessCIDR: !Ref 'RemoteAccessCIDR'
        CertS3Bucket: !Ref 'CertS3Bucket'
        CertS3Key: !Ref 'CertS3Key'
  WorkerStack:
    Type: AWS::CloudFormation::Stack
    Properties:
      TemplateURL:
        !Sub
          - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/workerstack.template.yaml
          - S3Region: !If [UsingDefaultBucket, !Ref 'AWS::Region', !Ref QSS3BucketRegion]
            S3Bucket: !If [UsingDefaultBucket, !Sub '${QSS3BucketName}-${AWS::Region}', !Ref QSS3BucketName]
      Parameters:
        WorkerSGID: !GetAtt 'ADStack.Outputs.WorkerSGID'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/main.template.yaml [368:383]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        MicrosoftAD: !GetAtt 'ADStack.Outputs.MicrosoftAD'
        HeadNodeInstanceType: !Ref 'HeadNodeInstanceType'
        HeadNodeNetBIOSName: !Ref 'HeadNodeNetBIOSName'
        RemoteAccessCIDR: !Ref 'RemoteAccessCIDR'
        CertS3Bucket: !Ref 'CertS3Bucket'
        CertS3Key: !Ref 'CertS3Key'
  WorkerStack:
    Type: AWS::CloudFormation::Stack
    Properties:
      TemplateURL:
        !Sub
          - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}templates/workerstack.template.yaml
          - S3Region: !If [UsingDefaultBucket, !Ref 'AWS::Region', !Ref QSS3BucketRegion]
            S3Bucket: !If [UsingDefaultBucket, !Sub '${QSS3BucketName}-${AWS::Region}', !Ref QSS3BucketName]
      Parameters:
        WorkerSGID: !GetAtt 'ADStack.Outputs.WorkerSGID'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



