Skip to content

Commit

Permalink
Remove mention of TERRAFORM_WORKSPACE env var
Browse files Browse the repository at this point in the history
  • Loading branch information
lkysow committed Mar 5, 2019
1 parent aa3c010 commit 936a5f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/events/terraform/terraform_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ func (c *DefaultClient) Version() *version.Version {
// RunCommandWithVersion executes the provided version of terraform with
// the provided args in path. v is the version of terraform executable to use.
// If v is nil, will use the default version.
// Workspace is the terraform workspace to run in. We won't switch workspaces
// but will set the TERRAFORM_WORKSPACE environment variable.
// Workspace is the terraform workspace to run in. We won't switch workspaces,
// just set a WORKSPACE environment variable.
func (c *DefaultClient) RunCommandWithVersion(log *logging.SimpleLogger, path string, args []string, v *version.Version, workspace string) (string, error) {
tfCmd, cmd := c.prepCmd(v, workspace, path, args)
out, err := cmd.CombinedOutput()
Expand Down

0 comments on commit 936a5f4

Please sign in to comment.