templates/exchange.template.yaml [841:1079]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                  - '''"'
              waitAfterCompletion: '0'
          files:
            C:\cfn\modules\AWSQuickStart.zip:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/modules/AWSQuickStart.zip
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Unzip-Archive.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Unzip-Archive.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Rename-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Rename-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Restart-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Restart-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Join-Domain.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Join-Domain.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Enable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Enable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Disable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Disable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Expand-Exchange.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Expand-Exchange.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-EdgePrerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-EdgePrerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchangeEdgeServer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchangeEdgeServer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Set-PrimaryDNSSuffix.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Set-PrimaryDNSSuffix.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Configure-EdgeDnsRecord.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Configure-EdgeDnsRecord.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Reset-LocalAdminPassword.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Reset-LocalAdminPassword.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Configure-UAC.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Configure-UAC.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Download-Prerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Download-Prerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-VisualCRuntime.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-VisualCRuntime.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-NetFramework.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-NetFramework.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
        configSets:
          config:
          - setup
          - Prep
          - Install
          - Cleanup
          - Finalize
    Properties:
      BlockDeviceMappings:
      - DeviceName: /dev/sda1
        Ebs:
          VolumeSize: 100
          VolumeType: gp2
      - DeviceName: /dev/xvdca
        VirtualName: ephemeral0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/exchange.template.yaml [1349:1587]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                  - '''"'
              waitAfterCompletion: '0'
          files:
            C:\cfn\modules\AWSQuickStart.zip:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/modules/AWSQuickStart.zip
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Unzip-Archive.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Unzip-Archive.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Rename-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Rename-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Restart-Computer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Restart-Computer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Join-Domain.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Join-Domain.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Enable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Enable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Disable-CredSSP.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Disable-CredSSP.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Expand-Exchange.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Expand-Exchange.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-EdgePrerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-EdgePrerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Install-ExchangeEdgeServer.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-ExchangeEdgeServer.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Set-PrimaryDNSSuffix.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}submodules/quickstart-microsoft-utilities/scripts/Set-PrimaryDNSSuffix.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Configure-EdgeDnsRecord.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Configure-EdgeDnsRecord.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Reset-LocalAdminPassword.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Reset-LocalAdminPassword.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            c:\cfn\scripts\Configure-UAC.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Configure-UAC.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Download-Prerequisites.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Download-Prerequisites.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-VisualCRuntime.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-VisualCRuntime.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
            C:\cfn\scripts\Install-NetFramework.ps1:
              source:
                !Sub
                - https://${S3Bucket}.s3.${S3Region}.${AWS::URLSuffix}/${QSS3KeyPrefix}scripts/Install-NetFramework.ps1
                - S3Region: !If
                    - UsingDefaultBucket
                    - !Ref AWS::Region
                    - !Ref QSS3BucketRegion
                  S3Bucket: !If
                    - UsingDefaultBucket
                    - !Sub '${QSS3BucketName}-${AWS::Region}'
                    - !Ref QSS3BucketName
              authentication: S3AccessCreds
        configSets:
          config:
          - setup
          - Prep
          - Install
          - Cleanup
          - Finalize
    Properties:
      BlockDeviceMappings:
      - DeviceName: /dev/sda1
        Ebs:
          VolumeSize: 100
          VolumeType: gp2
      - DeviceName: /dev/xvdca
        VirtualName: ephemeral0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



