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
preguntada hace un año1812 visualizaciones
1 Respuesta
0
Respuesta aceptada

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
respondido hace un año
profile pictureAWS
EXPERTO
revisado hace un año
  • Appreciate it!

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas