How do i create an IAM user with s3 permission using cloudformation?

Question:

I need to create an IAM user with s3 permissions using cloudformation.

I havent found a solution

Answer:

Use AWS::IAM::User to create the IAM User.

Here’s a YAML template that uses Managed Policies:

Here’s a JSON policy that has inline permissions:

Leave a Reply