-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
When trying to get details for a AWS::RDS::DBProxyTargetGroup via the Cloud Control API, the request fails with a validation error.
Reproduction
Deploy AWS::RDS::DBProxyTargetGroup
cluster = rds.DatabaseCluster(self, "Database",
cluster_identifier=cluster_identifier,
engine=rds.DatabaseClusterEngine.aurora_postgres(
version=rds.AuroraPostgresEngineVersion.VER_15_2),
credentials=rds.Credentials.from_generated_secret(
"syscdk"),
instance_props=rds.InstanceProps(
instance_type=instance_type,
vpc_subnets=ec2.SubnetSelection(
subnet_type=ec2.SubnetType.PUBLIC),
vpc=vpc
),
storage_type=rds.DBClusterStorageType.AURORA_IOPT1,
removal_policy=removal_policy,
)
proxy = rds.DatabaseProxy(self, "Proxy",
proxy_target=rds.ProxyTarget.from_cluster(cluster),
secrets=[cluster.secret],
vpc=vpc
)
Test
aws cloudcontrol get-resource --type-name AWS::RDS::DBProxyTargetGroup --identifier "arn:aws:rds:eu-west-1:00000000000:target-group:prx-tg-xxxxxxxxxxxxx"
An error occurred (GeneralServiceException) when calling the GetResource operation: AWS::RDS::DBProxyTargetGroup Handler returned status FAILED: 1 validation error detected: Value null at 'dBProxyName' failed to satisfy constraint: Member must not be null (Service: AmazonRDS; Status Code: 400; Error Code: ValidationError; Request ID: 6b64eeb9-74d4-4943-ad63-xxxxxxxxxxxxx; Proxy: null) (HandlerErrorCode: GeneralServiceException, RequestToken: 9a18e255-a56b-42ab-a1c6-xxxxxxxxxxxx)
greg5123334 and dmittendorf
Metadata
Metadata
Assignees
Labels
No labels