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
demandé il y a un an1790 vues
1 réponse
0
Réponse acceptée

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
répondu il y a un an
profile pictureAWS
EXPERT
vérifié il y a un an
  • Appreciate it!

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions