aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::RDS::DBCluster - MasterUsername accessible via Fn::GetAtt

Open
#2,163 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

### Name of the resource

AWS::RDS::DBCluster

### Resource name

DBCluster

### Description

Request for an enhancement to the AWS::RDS::DBCluster resource to expose the MasterUsername. This information is already accessible through RDS APIs. Would allow for this type of metadata to be natively exposed within a CFT instead of requiring Customers to write a dedicated CustomResource to expose.

## Scope of Request

New option for an existing attribute is desired that is accessible via AWS RDS APIs. Allows Customers to easily derive the Master Username on a provisioned RDS DB Cluster via CloudFormation.

## Expected Behavior

Fn::GetAtt on a AWS::RDS::DBCluster resource returns the MasterUsername for the resource

### Resources

Resources to assist with investigation:

AWS RDS DescribeDBClusters
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html

DBCluster Object
https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DBCluster.html

### Other Details

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reading the AWS::RDS::DBCluster resource behavior and the linked DescribeDBClusters and DBCluster API documentation. Confirm how MasterUsername is exposed by the RDS API and define the Fn::GetAtt result; done means the resource returns that value without requiring a custom resource.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.