Skip to content

Commit

Permalink
Revert "Set TF_WORKSPACE env var (runatlantis#1363)"
Browse files Browse the repository at this point in the history
This reverts commit 2c4e0c3
  • Loading branch information
monitrue committed May 12, 2021
1 parent 40ffdd1 commit bda6d87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/events/terraform/terraform_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,6 @@ func (c *DefaultClient) prepCmd(log logging.SimpleLogging, v *version.Version, w
"TF_IN_AUTOMATION=true",
// Cache plugins so terraform init runs faster.
fmt.Sprintf("WORKSPACE=%s", workspace),
fmt.Sprintf("TF_WORKSPACE=%s", workspace),
fmt.Sprintf("ATLANTIS_TERRAFORM_VERSION=%s", v.String()),
fmt.Sprintf("DIR=%s", path),
}
Expand Down

0 comments on commit bda6d87

Please sign in to comment.