Skip to content

"Attach inline policy to user" (aws_s3.yml task) fails when using assumed IAM role #29

@copelco

Description

@copelco

As far as I can tell, Ansible's iam_policy module doesn't work with an assumed IAM role due to a limitation of the underlying boto library.

This gist provides a workaround, which works by just running assumed-role-credentials.py before running the playbook which calls the aws_s3.yml tasks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions