Skip to content

polmolea/terraform-assume-role

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Testing external bash scripts using roles

How to run this test:

  1. Ensure you have default credentials in your AWS CLI locations and edit the aws.config file to reference a role that can be assume by your default credentials.
  2. terraform init
  3. terraform apply will use your default credentials and will output the caller identity as such
  4. AWS_PROFILE=foo AWS_CONFIG_FILE=aws.config terraform apply will use the profile foo mentioned in the aws.config file and will output the caller identity as such

About

Test Terraform external scripts using assume role.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published