terraform/builtin/provisioners/remote-exec
James Bardin 026ba5b013 ensure context cancel is never nil
The context used for Stop is more appropriately tied to the lifetime of
the provisioner rather than a call to the ProvisionResource method. In
some cases Stop can be called before ProvisionResource, causing a panic
the provisioner.  Rather than adding nil checks to the CancelFunc call
for Stop, create a base context to use for cancellation with both Stop
and Close methods.
2021-01-08 12:36:45 -05:00
..
testdata Standardise directory name for test data 2019-06-30 10:16:15 +02:00
resource_provisioner.go ensure context cancel is never nil 2021-01-08 12:36:45 -05:00
resource_provisioner_test.go ensure context cancel is never nil 2021-01-08 12:36:45 -05:00