-
Notifications
You must be signed in to change notification settings - Fork 4.5k
(secretsmanager): RDS_DB_CLUSTER/INSTANCE is not available as an attachment type #14059
Copy link
Copy link
Closed
Closed
Copy link
Labels
@aws-cdk/aws-secretsmanagerRelated to AWS Secrets ManagerRelated to AWS Secrets ManagerbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortjsiiThis issue originates in jsii, or this feature must be implemented in jsii.This issue originates in jsii, or this feature must be implemented in jsii.p2
Description
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.
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-secretsmanagerRelated to AWS Secrets ManagerRelated to AWS Secrets ManagerbugThis issue is a bug.This issue is a bug.effort/smallSmall work item – less than a day of effortSmall work item – less than a day of effortjsiiThis issue originates in jsii, or this feature must be implemented in jsii.This issue originates in jsii, or this feature must be implemented in jsii.p2

