diff --git a/plugin.go b/plugin.go index e89e373..6646fcf 100644 --- a/plugin.go +++ b/plugin.go @@ -225,16 +225,6 @@ func initCommand(config InitOptions) *exec.Cmd { args = append(args, fmt.Sprintf("-backend-config=%s", v)) } - // True is default in TF - if config.Lock != nil { - args = append(args, fmt.Sprintf("-lock=%t", *config.Lock)) - } - - // "0s" is default in TF - if config.LockTimeout != "" { - args = append(args, fmt.Sprintf("-lock-timeout=%s", config.LockTimeout)) - } - // Fail Terraform execution on prompt args = append(args, "-input=false")