apiVersion: cloud.pingcap.com/v1
kind: Provider
metadata:
  name: aws
spec:
  type: aws
  storageClasses:
    - name: pd-gp3-4000-400
      type: gp3
      iops: 4000
      throughput: 400
    - name: pd-gp3-3000-125
      type: gp3
      iops: 3000
      throughput: 125
    - name: tikv-gp3-4000-400
      type: gp3
      iops: 4000
      throughput: 400
    - name: tikv-gp3-3000-128
      type: gp3
      iops: 3000
      throughput: 128
    - name: tikv-gp3-3000-125
      type: gp3
      iops: 3000
      throughput: 125
    - name: tiflash-gp3-6000-625
      type: gp3
      iops: 6000
      throughput: 625
    - name: pd-gp2
      type: gp2
    - name: tikv-gp2
      type: gp2
    - name: tiflash-gp2
      type: gp2
  regions:
    - name: us-west-2
      zones:
        - us-west-2a
        - us-west-2b
        - us-west-2c
    - name: us-east-1
      zones:
        - us-east-1a
        - us-east-1b
        - us-east-1c
  instanceTypes:
    - name: c6g.xlarge
      arch: arm64
      cpu: 4
      memory: 8Gi
      regions: ["us-west-2", "us-east-1"]
    - name: c6g.2xlarge
      arch: arm64
      cpu: 8
      memory: 16Gi
      regions: ["us-west-2", "us-east-1"]
    - name: c6g.4xlarge
      arch: arm64
      cpu: 16
      memory: 32Gi
      regions: ["us-west-2", "us-east-1"]
    - name: r6g.2xlarge
      arch: arm64
      cpu: 8
      memory: 64Gi
      regions: ["us-west-2", "us-east-1"]
    - name: r6g.4xlarge
      arch: arm64
      cpu: 16
      memory: 128Gi
      regions: ["us-west-2", "us-east-1"]
    - name: t4g.small
      arch: arm64
      cpu: 2
      memory: 2Gi
      regions: ["us-west-2", "us-east-1"]
    - name: t4g.medium
      arch: arm64
      cpu: 2
      memory: 4Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.large
      arch: arm64
      cpu: 2
      memory: 8Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.xlarge
      arch: arm64
      cpu: 4
      memory: 16Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.2xlarge
      arch: arm64
      cpu: 8
      memory: 32Gi
      regions: ["us-west-2", "us-east-1"]
    - name: m6g.4xlarge
      arch: arm64
      cpu: 16
      memory: 64Gi
      regions: ["us-west-2", "us-east-1"]
    - name: c5.9xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 32
      memory: 72Gi
      minStorage: 1024Gi
      maxStorage: 1024Gi
    - name: r5.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 64Gi
      minStorage: 1024Gi
      maxStorage: 1024Gi
    - name: r5b.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 64Gi
      minStorage: 1024Gi
      maxStorage: 1024Gi
    - name: c5.4xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 16
      memory: 32Gi
    - name: c5.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 16Gi
    - name: c5.xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 4
      memory: 8Gi
    - name: i3.4xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 16
      memory: 122Gi
      localStorageSize: 1900Gi
      minStorage: 1900Gi
      maxStorage: 1900Gi
    - name: i3.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 61Gi
      localStorageSize: 1900Gi
      minStorage: 1900Gi
      maxStorage: 1900Gi
    - name: t3a.small
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 2Gi
      minStorage: 50Gi
      maxStorage: 50Gi
    - name: t3.medium
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 4Gi
      minStorage: 0Gi
      maxStorage: 500Gi
    - name: t3a.medium
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 4Gi
      minStorage: 0Gi
      maxStorage: 500Gi
    - name: m5.large
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 2
      memory: 8Gi
      minStorage: 0Gi
      maxStorage: 2048Gi
    - name: m5.xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 4
      memory: 16Gi
      minStorage: 0Gi
      maxStorage: 2048Gi
    - name: m5.2xlarge
      arch: amd64
      regions: ["us-west-2", "us-east-1"]
      cpu: 8
      memory: 32Gi
      minStorage: 0Gi
      maxStorage: 2048Gi
  forProvider:
    apiVersion: cloud.pingcap.com/v1
    kind: GardenerProviderSpec
    enableGracefulShutdownWebhook: false
    reporter:
      image: "dbaas/dev/billing-reporter:5361cfdaede17bc8f46c0cca7d862aa7d88cd8ea"
      sqsEndpoint: "https://sqs.us-west-2.amazonaws.com/385595570414/nightly-billing.fifo"
      region: "us-west-2"
    sliReporter:
      image: "dbaas/dev/sli-reporter:v2.0.1"
      region: "us-west-2"
      deliveryStreamName: "sli-dev-metrics"
      deliveryStreamRoleArn: "arn:aws:iam::552185537300:role/sli-cross-account-role"
    proxy:
      image: "dbaas/dev/cluster-proxy:b0955c5a9e1fd1908535ffa4ce1d07809c3136fb"
      auth0Audience: "dev-proxy-service"
      auth0Domain: "tidb-dev.us.auth0.com"
      loadBalancerSourceRanges:
        - "54.148.240.60/32"
        - "54.71.2.116/32"
        - "52.13.110.238/32"
    dataflowAgent:
      image: "385595570414.dkr.ecr.us-west-2.amazonaws.com/tidbcloud/dataflow-agent:agent-v20230411"
    topsql:
      image: "dbaas/dev/topsql-agent:511df4e3c487ed0cc324d306a83fea4633dc4ddb"
    aws:
      publicHostedZoneDomain: shared.aws.tidbcloud.com
      publicHostedZoneId: Z329W86VRKILYT
      crossplaneProvider: provider-aws
      accountID: "385595570414"
      ecrRegion: "us-west-2"
      pcaArn: "arn:aws:acm-pca:us-west-2:385595570414:certificate-authority/4668d5cc-1042-4371-9ff4-72ab9493c545"
      pcaRegion: "us-west-2"
