Skip to content

Commit

Permalink
Update comment to mention the -lock=false flag too
Browse files Browse the repository at this point in the history
  • Loading branch information
toastwaffle committed Feb 2, 2024
1 parent e7276c1 commit 110097b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/terraform/terraform.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,8 @@ func (h Harness) Diff(ctx context.Context, o ...Option) (bool, error) {
cmd := exec.Command(h.Path, args...) //nolint:gosec
cmd.Dir = h.Dir

// Note: the rwmutex is intentionally not locked here to avoid excessive blocking. See
// Note: the terraform lock is not used (see the -lock=false flag above) and the rwmutex is
// intentionally not locked here to avoid excessive blocking. See
// https://github.com/upbound/provider-terraform/issues/239#issuecomment-1921732682

// The -detailed-exitcode flag will make terraform plan return:
Expand Down

0 comments on commit 110097b

Please sign in to comment.