ce-provision

AWS IAM EC2

Set up an IAM role, with basic document/trust policy.

Default variables

aws_iam_role:
  name: "example"
  aws_profile: "{{ _aws_profile }}"
  # Pass either names or ARNs for the role.
  managed_policies: []
  # Which document policy to apply.
  # Current options are 'ec2', 'ecs' or 'backup'
  policy_document: ec2
  purge_policies: true # set to false if you want to add policies to an existing role
  tags:
    #Type: "util"
  state: present
  _result: {}