MHN
Add a comment on Hacker News →
1 of 15 comments
  1. PSA: don’t ever pass your AWS credentials as TF_VAR_s, they’ll end up in the state file, which is a bad thing.

    from the article, in a github actions workflow:

    ‘TF_VAR_secret_key: … ‘

    and yeah this was just for the “emulator” provider config but you know someone will come along and copy your example for a real workflow and provider config.

    (Yes, I know about state encryption, thank you.)