resource "aws_db_proxy" "mc-rds-stage-db-01" {
  name                   = "mc-rds-stage-db-01"
  debug_logging          = false
  engine_family          = "POSTGRESQL"
  idle_client_timeout    = 28740
  require_tls            = true
  role_arn               = "arn:aws:iam::104858398257:role/RDSProxyIAMRole"
  vpc_security_group_ids = ["sg-0a4938b1828b28271"]
  vpc_subnet_ids         = ["subnet-365a1a4d", "subnet-fbcde092"]

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

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

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:104858398257:secret:db/mcdelivery/stage/ms_vntg_wrpr_srvc-kmSB4Z"
  }

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

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

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

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

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

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

auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:104858398257:secret:db/mcdelivery/stage/sira001-cxCeJI"
  }

auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:104858398257:secret:db/mcdelivery/stage/poth003-l5bILI"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:104858398257:secret:db/mcdelivery/stage/symmds_user-N2mFq8"
  }

  auth {
    auth_scheme = "SECRETS"
    iam_auth    = "DISABLED"
    client_password_auth_type = "POSTGRES_MD5"
    secret_arn  = "arn:aws:secretsmanager:eu-central-1:104858398257:secret:db/mcdelivery/stage/nkariappa-zQJ7jp"
  }

}
