templates/tableau-server-ubuntu.yaml [120:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Conditions:
  IsTrial: !Equals [ '', !Ref TableauServerLicenseKey ]
  
Resources:
  TableauASG:
    Type: AWS::AutoScaling::AutoScalingGroup
    Properties:
      DesiredCapacity: 1
      HealthCheckGracePeriod: 6000
      HealthCheckType: ELB
      LaunchConfigurationName: !Ref TableauLaunchConfig
      MaxSize: 1
      MinSize: 1
      Tags:
      - Key: !Ref QSTagKey
        Value: !Ref QSTagValue
        PropagateAtLaunch: true
      TargetGroupARNs: !Ref ElbTargetGroups
      VPCZoneIdentifier: !Ref PrivateSubnetIds
    CreationPolicy:
      ResourceSignal:
        Count: 1
        Timeout: PT2H

  TableauLaunchConfig:
    Type: AWS::AutoScaling::LaunchConfiguration
    Metadata:
      AWS::CloudFormation::Init:
        config:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/tableau-server-windows.yaml [215:243]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Conditions:
  IsTrial: !Equals [ '', !Ref TableauServerLicenseKey ]

Resources:
  TableauASG:
    Type: AWS::AutoScaling::AutoScalingGroup
    Properties:
      DesiredCapacity: 1
      HealthCheckGracePeriod: 6000
      HealthCheckType: ELB
      LaunchConfigurationName: !Ref TableauLaunchConfig
      MaxSize: 1
      MinSize: 1
      Tags:
      - Key: !Ref QSTagKey
        Value: !Ref QSTagValue
        PropagateAtLaunch: true
      TargetGroupARNs: !Ref ElbTargetGroups
      VPCZoneIdentifier: !Ref PrivateSubnetIds
    CreationPolicy:
      ResourceSignal:
        Count: 1
        Timeout: PT2H

  TableauLaunchConfig:
    Type:  AWS::AutoScaling::LaunchConfiguration
    Metadata:
      AWS::CloudFormation::Init:
        config:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



