Skip to content
A bash (.sh) script to be run from an AWS ec2 instance to assume an IAM role and terraform config to build the IAM policies
HCL Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
aws-ec2-auth
terraform-iam-roles
readme.md

readme.md

A bash (.sh) script to be run from an AWS ec2 instance to assume an IAM role

Corresponding terraform config provided to build the IAM roles, including:

  • Implicit role - assigned directly to an ec2 instance, has few permissions
  • Assumed role - assumed via the above bash script, has higher permissions

More info at: https://www.kylermiddleton.com/2019/08/aws-iam-assuming-iam-role-from-ec2.html

You can’t perform that action at this time.