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
posta un anno fa1814 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta un anno fa
profile pictureAWS
ESPERTO
verificato un anno fa
  • Appreciate it!

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande