Step 4 of "To configure IAM permissions for using your cluster with Lambda"
oq-9 opened this issue · 1 comments
In Step 4 of "To configure IAM permissions for using your cluster with Lambda" Documentation code says:
aws rds add-role-to-db-cluster \
--db-cluster-identifier my-cluster-name \
--feature-name Lambda \
--role-arn arn:aws:iam::444455556666:role/rds-lambda-role \
--region aws-region
I do not know where to find the db-cluster-identifier
and I do not think I have one. Also when I look at AWS CLI documentation in the link you provided:
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/add-role-to-db-cluster.html
It states:
add-role-to-db-cluster
--db-cluster-identifier <value>
--role-arn <value>
[--feature-name <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
And I am guessing db-cluster-identifier
is the DB instance ID
under the configuration tab in the AWS RDS console? Is that correct?
Thanks for your feedback. You can find the db-cluster-identifier by following these steps:
-
Sign in to the AWS Management Console and open the Amazon RDS console.
-
In the navigation pane, choose Databases, and then choose the DB cluster.
-
Choose the Configuration tab.
The db-cluster-identifier is shown under DB cluster ID.
Let me know if you need more information.