resource "aws_db_proxy" "mc-rds-prod-db-01" {
  name                   = "mc-rds-prod-db-01"
  debug_logging          = false
  engine_family          = "POSTGRESQL"
  idle_client_timeout    = 28740
  require_tls            = true
  role_arn               = "arn:aws:iam::638682502729:role/RDSProxyIAMRole"
  vpc_security_group_ids = ["sg-0aec5e85ef929a1ac"]
  vpc_subnet_ids         = ["subnet-e337c899", "subnet-4331982b"]

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/mish008-IaCE0Y"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/master_rds-HNnZOQ"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/mpadsal-D8hLFM"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/tang002-IrXB1d"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/nova005-TYshm1"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/sira001-7xcEPM"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/gvamsi-Gqtg2x"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/poth003-9FVovG"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/conversion_app-Eezwxj"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/ms_dlvry_cnvrsn_srvc-LTTvoN"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:638682502729:secret:db/mcdelivery/prod/ms_vntg_wrpr_srvc-3QUUhW"
  }
}
