riboseinc / aws-authenticating-secgroup-scripts

Scripts to use riboseinc/terraform-aws-authenticating-secgroup
Apache License 2.0
32 stars 28 forks source link

Support load [default] section in credentials in "~/.aws/" #4

Open phuonghuynh opened 6 years ago

phuonghuynh commented 6 years ago

We can load [default] section in "~/.aws" so that required argument "-credentials" can be optional.

ronaldtse commented 6 years ago

Agree, the script should actually use AWS STS to utilize temporary tokens. Can you help update it? Thanks!

ronaldtse commented 6 years ago

And it should respect the AWS_PROFILE environment variable. I wonder if there’s an easy way to do so without having us to read it?

phuonghuynh commented 6 years ago

I agree, we could find an easy way to do this. Otherwise, we need to read AWS document to see what profile is considered in order