message: Build subscription configuration from cloud config values
diff: @@ -2,9 +2,6 @@ parameters:
  - name: Location
  type: string
  default: ''
  -- name: SubscriptionConfiguration
  - type: string
  - default: $(sub-config-azure-cloud-test-resources)
  - name: ServiceDirectory
  type: string
  default: not-specified
  @@ -119,12 +116,16 @@ jobs:
  BuildArgs: "$(BuildArgs)"
  Env: "$(CmakeEnvArg)"
  + - template: /eng/common/TestResources/build-test-resource-config.yml
  + parameters:
  + SubscriptionConfiguration: ${{ parameters.CloudConfig.SubscriptionConfiguration }}
  + SubscriptionConfigurations: ${{ parameters.CloudConfig.SubscriptionConfigurations }}
  +
  - template: /eng/common/TestResources/deploy-test-resources.yml
  parameters:
  ServiceDirectory: ${{ parameters.ServiceDirectory }}
  - ${{ if or(parameters.Location, parameters.CloudConfig.Location) }}:
  Location: ${{ coalesce(parameters.Location, parameters.CloudConfig.Location) }}
  - SubscriptionConfiguration: ${{ parameters.CloudConfig.SubscriptionConfiguration }}
  + SubscriptionConfiguration: $(SubscriptionConfiguration)
  # For non multi-config generator use the same build configuration to run tests
  # We don't need to set it to invoke ctest
  @@ -196,4 +197,4 @@ jobs:
  - template: /eng/common/TestResources/remove-test-resources.yml
  parameters:
  ServiceDirectory: ${{ parameters.ServiceDirectory }}
  - SubscriptionConfiguration: ${{ parameters.SubscriptionConfiguration }}
  + SubscriptionConfiguration: $(SubscriptionConfiguration)
  