Skip to content
This repository was archived by the owner on Jan 10, 2021. It is now read-only.

Massive Refactor #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kevinkjt2000
Copy link

I noticed that generating the badges looked repetitive, so I have refactored that into its own function.

Additionally, I removed the default AWS_PROFILE variable. Having this makes this script impossible for me to run, because the AWS account I use has a multi-factor authenticated role that I have to assume. To do this I use aws sts and my rotating pin number to acquire a temoporary session token. Then, I export new AWS_* variables based on the sts output.

However, setting a profile is still possible. For example, AWS_PROFILE=default ./terraform-coverage.sh.

@kevinkjt2000
Copy link
Author

@chrisanthropic

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant