How to correctly grant roles with redshift serverless?

0

Using AWS documentation for granting roles on Redshift Serverless (https://docs.aws.amazon.com/redshift/latest/mgmt/serverless-monitoring.html) - it says I should run this command to grant a role:

grant "sys:operator" to "IAM:<correct IAM user name here>";

This command always results in this error.

ERROR: syntax error at or near ""sys:monitor"" Position: 7 [ErrorId: 1-6372a5f7-38f7a17f6443bdfc4f6b348f]

What am I missing? Is the documentation incorrect?

tjtoll
已提问 1 年前1811 查看次数
1 回答
0
已接受的回答

Yes, the documentation needs to be updated.

Please use this command:

grant role "sys:operator" to "IAM:<correct IAM user name here>";

I'll request that the page is updated.

AWS
Don_D
已回答 1 年前
profile pictureAWS
专家
已审核 1 年前
  • Appreciate it!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则