Skip to content

Instantly share code, notes, and snippets.

@ryan-lane
Last active January 11, 2020 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryan-lane/93e0d4f17fcbcd6188b3 to your computer and use it in GitHub Desktop.
Save ryan-lane/93e0d4f17fcbcd6188b3 to your computer and use it in GitHub Desktop.
saltmastertest_role:
boto_iam_role.present:
- name: saltmastertest
- region: us-east-1
- policies:
saltmastertest:
Version: '2012-10-17'
Statement:
- Action:
- 'ec2:*'
- 'route53:*'
- 'elasticloadbalancing:*'
- 'autoscaling:*'
- 'iam:*'
Resource: '*'
Effect: Allow
{%if pillar.get('awsprofile')%}
- profile: awsprofile
{%endif%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment