kind: source
spec:
  name: "aws"
  path: "cloudquery/aws"
  registry: github
  version: "v15.4.0"
  tables:
    - aws_ec2_ebs_volumes
    - aws_ec2_instances
    - aws_ec2_nat_gateways
    - aws_ec2_network_interfaces
    - aws_ec2_vpc_endpoint_services
    - aws_ec2_vpc_endpoints
    - aws_ec2_vpcs
    - aws_ec2_eips
    - aws_ec2_security_groups
    - aws_elbv1_load_balancers
    - aws_elbv2_load_balancers
    - aws_eks_clusters
    - aws_eks_cluster_node_groups
    - aws_autoscaling_groups
#    - aws_s3_buckets
  destinations: ["bigquery"]
  skip_tables: []
  spec:
    regions:
      - 'eu-west-1'
      - 'eu-west-2'
      - 'eu-west-3'
      - 'ca-central-1'
      - 'sa-east-1'
      - 'us-west-1'
      - 'us-west-2'
      - 'us-east-2'
      - 'us-east-1'
      - 'eu-north-1'
      - 'eu-central-1'
      - 'ap-south-1'
      - 'ap-northeast-1'
      - 'ap-northeast-2'
      - 'ap-northeast-3'
      - 'ap-southeast-1'
      - 'ap-southeast-2'
      - 'ap-southeast-3'
      - 'ap-east-1'
      # - 'ap-southeast-5'
      # - 'ap-southeast-7'
      # - 'af-south-1'
    accounts:
      - id: "385595570414"  # PingCAP
        local_profile: "385595570414"
      - id: "200683210682"  # dbaas-infra-dev
        local_profile: "200683210682"
      - id: "495580073302" # dp-infra-dev
        local_profile: "495580073302"
      - id: "676546228356" # CLould QA
        local_profile: "676546228356"
      - id: "448141240262" # qa-dp-testing-dev
        local_profile: "448141240262"
      - id: "986330900858" # qa-system-testing-dev
        local_profile: "986330900858"
      - id: "646528577659" # compute-dev
        local_profile: "646528577659"
      - id: "013690006788" # qa-perf-testing-dev
        local_profile: "013690006788"
      - id: "166681434446" # resilience-dev
        local_profile: "166681434446"

      - id: "143458967504" # dbaas-prod-dataplane-000
        local_profile: "143458967504"
      - id: "730335266318" # dbaas-prod-dataplane-001
        local_profile: "730335266318"
      - id: "380838443567"  # pingcap-dbaas
        local_profile: "380838443567"
