mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
local-exec: the OS doesn't need to be ready
It is not obvious that the resource being created doesn't mean that the OS and system services such as sshd are ready (contrary to `remote-exec`). It is better to make that explicit and same developers like me some headache :-)
This commit is contained in:
parent
b02041062f
commit
8d0540865f
@ -13,6 +13,9 @@ is created. This invokes a process on the machine running Terraform, not on
|
||||
the resource. See the `remote-exec` [provisioner](/docs/provisioners/remote-exec.html)
|
||||
to run commands on the resource.
|
||||
|
||||
Beware that even though the resource is fully created when the provisioner is run,
|
||||
it doesn't need to have finished booting or starting system services.
|
||||
|
||||
## Example usage
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user