Skip to content

(secretsmanager): RDS_DB_CLUSTER/INSTANCE is not available as an attachment type #14059

@quixoticmonk

Description

@quixoticmonk

Description of the bug:

Python documentation for SecretAttachmentTargetProps refers to using "AttachmentTargetType" as target_type object value. The available values are

  • CLUSTER
  • REDSHIFT_CLUSTER
  • DOCDB_DB_CLUSTER

CLUSTER is marked as deprecated and is recommended to use RDS_DB_CLUSTER which is unavailable in the selections.

Screen Shot 2021-04-08 at 2 34 30 PM
Screen Shot 2021-04-08 at 2 34 50 PM

Reproduction Steps

  • Create a DatabaseSecret entity
  • Attempt to attach a cluster endpoint with the secret created
  • Reference the SecretAttachmentTargetProps which has a target_type argument.
  • Try to bring up the available selections of the target type from secretsmanager.AttachmentTargetType

What did you expect to happen?

Expected the recommended selection to be present as the targettype

What actually happened?

The deprecated value is present , but the recommended value is not.

Environment

  • CDK CLI Version : 1.96.0
  • Node.js Version: 10.24
  • OS : Linux ( Cloud9)
  • Language (Version): Python 3.9

This is 🐛 Bug Report

Metadata

Metadata

Assignees

No one assigned

    Labels

    @aws-cdk/aws-secretsmanagerRelated to AWS Secrets ManagerbugThis issue is a bug.effort/smallSmall work item – less than a day of effortjsiiThis issue originates in jsii, or this feature must be implemented in jsii.p2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions