jckuester / terradozer

Terraform destroy without configuration files
MIT License
163 stars 17 forks source link

if using temporary credentials the token is needed #1

Closed vsilgalis closed 4 years ago

vsilgalis commented 4 years ago

We use temporary credentials at the command line so need the AWS_SESSION_TOKEN to be passed to the provider.

jckuester commented 4 years ago

Hi @vsilgalis :wave: Thanks for your contribution. Also, I am happy to know if you have any feedback using terradozer. You're kind of an early tester :-) terradozer is finished though, but I haven't released it yet "officially".

vsilgalis commented 4 years ago

Hi @vsilgalis 👋 Thanks for your contribution. Also, I am happy to know if you have any feedback using terradozer. You're kind of an early tester :-) terradozer is finished though, but I haven't released it yet "officially".

Yeah, we just happen to use awsweeper and noticed an error when trying to run it. Digging through the code pointed us here. :)

jckuester commented 4 years ago

@vsilgalis I see, added support for AWS_SESSION_TOKEN in awsweeper v0.6.0.

vsilgalis commented 4 years ago

Yeah saw that. Thanks for the quick turnaround!