Timed out error on create RDS DBProxyTargetGroup with CFT

0

I have created DBProxy with CFT. When I am trying to create the DB proxy its getting timed out error.

DB proxy CFT

{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Description": "Template fot standard SQS",
    "Resources": {
        "DBProxy": {
            "Type" : "AWS::RDS::DBProxy",
            "Properties" : {
                "Auth" : [ {
                    "ClientPasswordAuthType" : "POSTGRES_SCRAM_SHA_256",
                    "Description" : "DB proxy",
                    "IAMAuth" : "DISABLED",
                    "SecretArn" : "arn:aws:secretsmanager:us-west-2:......"
                  }
                 ],
                "DBProxyName" : "test",
                "DebugLogging" : "true",
                "EngineFamily" : "POSTGRESQL",
                "IdleClientTimeout" : 1800,
                "RoleArn" : "arn:aws:iam::.....",
                "VpcSecurityGroupIds" : [ "sg-0" ],
                "VpcSubnetIds" : [ "subnet-0f", "subnet-06" ]
              }
          }
    },
    "Outputs": {
        "DBProxy": {
            "Description": "DBProxy",
            "Value": {
                "Ref": "DBProxy"
            }
        }
    }
}

DBProxyTargetGroup

{
    "AWSTemplateFormatVersion": "2010-09-09",
    "Description": "Template fot standard SQS",
    "Resources": {
        "DBProxyTargetGroup": {
            "Type": "AWS::RDS::DBProxyTargetGroup",
            "Properties": {
                "DBClusterIdentifiers": [
                    "clustername"
                ],
                "DBProxyName": "test",
                "TargetGroupName": "default"
            }
        }
    },
    "Outputs": {
        "DBProxyTargetGroup": {
            "Description": "DBProxyTargetGroup",
            "Value": {
                "Ref": "DBProxyTargetGroup"
            }
        }
    }
}

I am trying to connect my cluster but its giving timed out error.

gefragt vor 3 Monaten198 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen