Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TF_IN_AUTOMATION env var for terraform commands optional #576

Open
osterman opened this issue Apr 5, 2024 · 0 comments
Open

Make TF_IN_AUTOMATION env var for terraform commands optional #576

osterman opened this issue Apr 5, 2024 · 0 comments

Comments

@osterman
Copy link
Member

osterman commented Apr 5, 2024

Describe the Feature

Terraform does not check the value of TF_IN_AUTOMATION, only that it is set. As soon as it's set, the behavior takes effect. We hard code this setting, and don't provide a way to unset it.

Expected Behavior

TF_IN_AUTOMATION should be optional.

Use Case

When doing a lot of development with atmos, sometimes it's convenient to also use native terraform commands. If TF_IN_AUTOMATION is set, then it won't emit the terraform command you can run to apply it.

Describe Ideal Solution

Can we simply rely on setting the following in atmos.yml, so that users can change the behavior.

env:
  TF_IN_AUTOMATION: true

Alternatives Considered

No response

Additional Context

No response

mss added a commit to mss/atmos that referenced this issue Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant