gruntwork-io / go-commons

A standard library to use in all Gruntwork CLI tools
https://www.gruntwork.io/
MIT License
35 stars 26 forks source link

Add ability to provide an authentication session to lock #58

Closed yorinasub17 closed 2 years ago

yorinasub17 commented 2 years ago

Description

This PR updates the lock library to support using an already configured/authd AWS session. The use case for this is in the refarch-deployer utility, where all the authentication is handled internally based on where you are running, and more specifically, the local case where we use aws-vault as a library to auth to the different accounts, so the default credential chain is empty.

TODOs

Please ensure all of these TODOs are completed before asking for a review.

yorinasub17 commented 2 years ago

Thanks for review! Merging now.