Skip to content

Commit

Permalink
Fix support for terraform workspaces (runatlantis#2006)
Browse files Browse the repository at this point in the history
Fixes runatlantis#1517 and basically is a rebased version of runatlantis#1578.
  • Loading branch information
bschaeffer authored and krrrr38 committed Dec 16, 2022
1 parent 06f4647 commit c40ad61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/core/terraform/terraform_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,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 c40ad61

Please sign in to comment.