AppSync (CF): Does DbClusterIdentifier expect an ARN or a name?

0

Hi,

I have a question about the DbClusterIdentifier field for AppSync RelationalDatabase RdsHttpEndpointConfig (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-datasource-relationaldatabaseconfig-rdshttpendpointconfig.html)

Doc states: "The database cluster identifier of the rdshttpendpoint."
But it seems not to be working, and instead, it should be the cluster's ARN.
See this issue: https://github.com/sid88in/serverless-appsync-plugin/issues/232

Is the doc wrong?

Bonus question:
How to get a Cluster's ARN from CF? According to the doc: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbcluster.html
Neither Ref, nor Fn::GetAtt expose it.

Thank you

bboure
已提問 5 年前檢視次數 241 次
2 個答案
0
已接受的答案

Issue is correct, the dbClusterIdentifier is an ARN. I will make a note to update the documentation to specify this.

已回答 5 年前
0

Awesome, thank you

bboure
已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南