mmmorris1975 / aws-runas

aws-runas rewritten in Go
MIT License
87 stars 20 forks source link

running commands with role credential > 1h hangs #60

Closed mmmorris1975 closed 3 years ago

mmmorris1975 commented 3 years ago

When running a command using role credentials > 1h the tool hangs somewhere after starting the ECS credential endpoint. Works fine if the command is called with the -E option to use env vars credentials vs. ECS endpoint credentials.

mmmorris1975 commented 3 years ago

Remove unnecessary resolution of profile configuration and client when starting ECS credential endpoint. When executing a command, this info is already known prior to starting the ECS endpoint, don't try to re-resolve it.

fixed in 2af92d92756bf8d9b82ee38cac129a14686b3267 release in 3.0.2