I am having trouble retrieving the ARN for a new RDS Aurora Serverless cluster inside a CloudFormation template.
Can someone please advise on what reference the output value should be below?
Resources:
RDSCluster:
Type: AWS::RDS::DBCluster
Properties:
MasterUsername: someusername
MasterUserPassword: somepass
DatabaseName: mydb
Engine: aurora-postgresql
EngineMode: serverless
EngineVersion: '10.7'
EnableHttpEndpoint: true
ScalingConfiguration:
AutoPause: false
MaxCapacity: 16
MinCapacity: 2
SecondsUntilAutoPause: 300
Outputs:
RDSClusterARN:
Description: RDS Cluster ARN
Export:
Name: RDSCluster
Value:
Ref: RDSCluster # Help! What should this value be?
The output I currently get:
{
"OutputKey": "RDSClusterARN",
"OutputValue": "t1-rdscluster-1i771l6x4amfg",
"Description": "RDS Cluster ARN",
"ExportName": "RDSCluster"
},