Skip to content

Policy assignment in AWS is not idempotent.  #1

Description

@difu
- name: Assign a policy called S3ReadOnly to the webserver_role
  iam_policy:
    iam_type: role
    iam_name: webserver_role
    policy_name: S3ReadOnly
    state: present
    policy_document: roles/IAM/files/iam_policy_s3_read.json

run twice produces error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions