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

Set TF_WORKSPACE env var #1363

Merged
merged 1 commit into from
Jan 28, 2021
Merged

Set TF_WORKSPACE env var #1363

merged 1 commit into from
Jan 28, 2021

Conversation

m1pl
Copy link
Contributor

@m1pl m1pl commented Jan 26, 2021

For remote runs to target the correct workspace, custom workflows are needed. This PR sets the TF_WORKSPACE environment variable, to make it work without custom workflows.

fixes #661

@codecov
Copy link

codecov bot commented Jan 26, 2021

Codecov Report

Merging #1363 (618894a) into master (1137a82) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1363   +/-   ##
=======================================
  Coverage   69.99%   69.99%           
=======================================
  Files          74       74           
  Lines        5575     5576    +1     
=======================================
+ Hits         3902     3903    +1     
  Misses       1310     1310           
  Partials      363      363           
Impacted Files Coverage Δ
server/events/terraform/terraform_client.go 78.12% <100.00%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1137a82...618894a. Read the comment docs.

@andyshinn
Copy link

Closes #1011.

Copy link
Member

@lkysow lkysow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nishkrishnan nishkrishnan merged commit 2c4e0c3 into runatlantis:master Jan 28, 2021
@m1pl m1pl deleted the m1pl/set-tf-workspace branch January 30, 2021 12:44
monitrue added a commit to monitrue/atlantis that referenced this pull request May 12, 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.

Workspace is not selected during init
4 participants