# Weekly automated test configurations.
# Each entry triggers a deploy then destroy cycle.
# The runner appends a deterministic six-character suffix to each generated region prefix.
# `logical-region-name` is the stable weekly-test slot; `generated-region-prefix` may
# shorten the deployed name to satisfy provider limits and defaults to the slot name.
# Other parameters are passed directly as `gh workflow run -f` flags.
# Each entry specifies its own `env`. preview=false, destroy=false are hardcoded by the test script.
configs:
  - workflow: deploy-aws-byoc-region.yml
    env: staging
    logical-region-name: usw2-byoc-wkly
    generated-region-prefix: usw2-byoc
    params:
      aws-region: us-west-2
      aws-account: "385595570414"
      dataplane-account: "227896186585"
      o11y-global-account: "557537366020"
      availability-zones: usw2-az1,usw2-az2,usw2-az3
      byoc-tenant-id: "2130533"
      byoc-ecr: 227896186585.dkr.ecr.us-west-2.amazonaws.com
      cloudformation-region: us-west-2
    # Destroy app-delivery apps before terraform destroy.
    # cloud is required; region/cluster are derived; author and timeout are optional.
    app_destroy:
      cloud: aws

  - workflow: deploy-aws-premium-region.yml
    env: staging
    logical-region-name: us-east-1-wkly
    generated-region-prefix: use1-wkly
    params:
      aws-region: us-east-1
      aws-account: "385595570414"
      dataplane-accounts: "385595570414"
      availability-zones: use1-az1,use1-az6,use1-az2
    # Destroy app-delivery apps before terraform destroy.
    # cloud is required; region/cluster are derived; author and timeout are optional.
    app_destroy:
      cloud: aws

  - workflow: deploy-alicloud-premium-region.yml
    env: dev
    logical-region-name: ali-apse1-wkly
    params:
      alicloud-region: ap-southeast-1
      aws-account: "385595570414"
      alicloud-account: "5841052134823325"
      dataplane-accounts: "5753857577068077"
      alicloud-zones: ap-southeast-1a,ap-southeast-1b,ap-southeast-1c
    # Destroy app-delivery apps before terraform destroy.
    # cloud is required; region/cluster are derived; author and timeout are optional.
    app_destroy:
      cloud: alicloud

  - workflow: deploy-azure-premium-region.yml
    env: dev
    logical-region-name: japaneast-wkly
    params:
      azure-region: japaneast
      aws-account: "385595570414"
      tenant-id: "6c865c34-8ff8-4792-bbca-8c9d15efb29d"
      subscription-id: "85b598b9-a080-4476-bc96-ba89e64f92d1"
      client-id: "920139c4-dd78-48f2-82bc-fba45b872acb"
    # Destroy app-delivery apps before terraform destroy.
    # cloud is required; region/cluster are derived; author and timeout are optional.
    app_destroy:
      cloud: azure

  - workflow: deploy-azure-byoc-region.yml
    env: dev
    logical-region-name: "jpeast-byoc-wkly"
    params:
      customer-id: test0603
      byoc-tenant-id: "2130533"
      azure-region: japaneast
      aws-account: "385595570414"
      tenant-id: "6c865c34-8ff8-4792-bbca-8c9d15efb29d"
      subscription-id: "85b598b9-a080-4476-bc96-ba89e64f92d1"
      client-id: "920139c4-dd78-48f2-82bc-fba45b872acb"
      customer-tenant-id: "f6fef697-ff87-4312-b99f-bae438153725"
      customer-subscription-id: "03c76059-ead5-48f5-88f2-3504a9d64512"
      o11y-deployment-client-id: "d00a1300-af1f-45c3-beb1-2501ad747388"
    # Destroy app-delivery apps before terraform destroy.
    # cloud is required; region/cluster are derived; author and timeout are optional.
    app_destroy:
      cloud: azure
