Skip to content

Instantly share code, notes, and snippets.

@avishayil
Last active June 22, 2020 20:39
Show Gist options
  • Save avishayil/676736c0a6ba3fc206a83554f0ccdfd6 to your computer and use it in GitHub Desktop.
Save avishayil/676736c0a6ba3fc206a83554f0ccdfd6 to your computer and use it in GitHub Desktop.
---
- iam_role:
name: Admin
assume_role_policy_document: "{{ lookup('file','trust-okta.json') }}"
managed_policy:
- arn:aws:iam::aws:policy/AdministratorAccess
state: present
- iam_role:
name: Developer
assume_role_policy_document: "{{ lookup('file','trust-okta.json') }}"
managed_policy:
- arn:aws:iam::aws:policy/ReadOnlyAccess
state: present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment