apiVersion: cloud.pingcap.com/v1
kind: Provider
metadata:
  name: aws-shared-tier
spec:
  forProvider:
    apiVersion: cloud.pingcap.com/v1
    kind: SharedProviderSpec
    import:
      centralRoleARN: arn:aws:iam::380838443567:role/dbaas-central-role-prod
    pd:
      aws_sharedtier_6:
        limits:
          cpu: 2
          memory: 2Gi
        requests:
          cpu: 0.3
          memory: 2Gi
          storage: 2Gi
    tidb:
      aws_sharedtier_6:
        limits:
          cpu: 4
          memory: 8Gi
        requests:
          cpu: 1.2
          memory: 8Gi
    tikv:
      aws_sharedtier_6:
        limits:
          cpu: 4
          memory: 10Gi
        requests:
          cpu: 1.2
          memory: 10Gi
          storage: 200Gi
    tiflash:
      aws_sharedtier_6:
        limits:
          cpu: 4
          memory: 10Gi
        requests:
          cpu: 1.2
          memory: 10Gi
          storage: 200Gi
  instanceTypes:
    - name: aws_sharedtier_6
      regions: ["ap-southeast-1", "ap-northeast-1", "us-west-2", "us-east-1"]
  regions:
    - name: ap-southeast-1
    - name: ap-northeast-1
    - name: us-west-2
    - name: us-east-1
  type: aws-shared-tier
  storageClasses:
    - name: pd-gp3-3000-125
      type: gp3
      iops: 3000
      throughput: 125
    - name: tikv-gp3-3000-125
      type: gp3
      iops: 3000
      throughput: 125
    - name: tiflash-gp3-3000-125
      type: gp3
      iops: 3000
      throughput: 125
