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.

asked 3 months ago197 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions