Hi. I'm creating an AWS IAM user for Pulumi, but w...
# aws
a
Hi. I'm creating an AWS IAM user for Pulumi, but with the intent to only run
pulumi preview
. What is the appropriate permission to give to this user? Given that it will just "read"/"describe" elements on the infra, it won't change anything.
s
Something like
arn:aws:iam::aws:policy/job-function/ViewOnlyAccess
If ViewOnly is hitting access issues, try
arn:aws:iam::aws:policy/ReadOnlyAccess
a
Thanks @stocky-restaurant-98004. It worked with
arn:aws:iam::aws:policy/job-function/ViewOnlyAccess
plus privileges to use KMS to decrypt secrets. Many thanks.
s
You're most welcome! Please don't hesitate to reach out if you have any more trouble.