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

Change handling of TFC_AGENT_DATA_DIR environment variable. #10

Merged
merged 2 commits into from
Jul 9, 2021

Conversation

RussellRollins
Copy link

what

  • Changed default value of var.tfc_agent_data_dir to empty string.
  • Added dynamic env block to optionally set TFC_AGENT_DATA_DIR only for non-empty strings.
  • Updated docs/terraform.md & README.md (it seems like a number of unrelated changes were made automatically when I ran make init && make readme)

why

  • The current default value of ~/.tfc-agent breaks agent plans/applies, due to containing the ~ character.
  • tfc-agent will automatically select a good default value if the TFC_AGENT_DATA_DIR environment variable is unset.

@RussellRollins RussellRollins requested review from a team as code owners July 9, 2021 14:26
@RussellRollins RussellRollins requested review from jhosteny and nitrocode and removed request for a team July 9, 2021 14:26
variables.tf Outdated Show resolved Hide resolved
@osterman osterman merged commit c3ac15e into cloudposse:master Jul 9, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants