templates/AWSQuickstart-MSSQL.yml [722:751]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Parameters:
      commands: 
        - |
           $ssms = "C:\sqlinstall\SSMS-Setup-ENU.exe"
           $ssmsargs = "/quiet /norestart"
           Start-Process $ssms $ssmsargs -Wait -ErrorAction Stop
- name: NodesReconfigureSQLBranch
  action: aws:branch
  inputs:
    Choices:
    - Or:
      - Variable: "{{ThirdAZ}}"
        StringEquals: "no"
      - Variable: "{{ThirdAZ}}"
        StringEquals: "witness"
      NextStep: 2NodeReconfigureSQL
    - Variable: "{{ThirdAZ}}"
      StringEquals: "full"
      NextStep: 3NodeReconfigureSQL
- name: "2NodeReconfigureSQL"
  action: "aws:runCommand"
  onFailure: "step:signalfailure"
  nextStep: "CreateAGBranch" 
  inputs:
    DocumentName: "AWS-RunRemoteScript"
    InstanceIds:
      - "{{wsfcNode1InstanceId.InstanceId}}"
      - "{{wsfcNode2InstanceId.InstanceId}}"
    CloudWatchOutputConfig:
      CloudWatchOutputEnabled: "true"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



templates/sql.template.yaml [1849:1878]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            Parameters:
              commands: 
                - |
                   $ssms = "C:\sqlinstall\SSMS-Setup-ENU.exe"
                   $ssmsargs = "/quiet /norestart"
                   Start-Process $ssms $ssmsargs -Wait -ErrorAction Stop
        - name: NodesReconfigureSQLBranch
          action: aws:branch
          inputs:
            Choices:
            - Or:
              - Variable: "{{ThirdAZ}}"
                StringEquals: "no"
              - Variable: "{{ThirdAZ}}"
                StringEquals: "witness"
              NextStep: 2NodeReconfigureSQL
            - Variable: "{{ThirdAZ}}"
              StringEquals: "full"
              NextStep: 3NodeReconfigureSQL
        - name: "2NodeReconfigureSQL"
          action: "aws:runCommand"
          onFailure: "step:signalfailure"
          nextStep: "CreateAGBranch" 
          inputs:
            DocumentName: "AWS-RunRemoteScript"
            InstanceIds:
              - "{{wsfcNode1InstanceId.InstanceId}}"
              - "{{wsfcNode2InstanceId.InstanceId}}"
            CloudWatchOutputConfig:
              CloudWatchOutputEnabled: "true"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



