mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #31310 from ianmrose-cm/main
Add shell explanation to remote-exec `inline` argument documentation.
This commit is contained in:
commit
8fac3d63d8
@ -48,8 +48,9 @@ resource "aws_instance" "web" {
|
||||
|
||||
The following arguments are supported:
|
||||
|
||||
* `inline` - This is a list of command strings. They are executed in the order
|
||||
they are provided. This cannot be provided with `script` or `scripts`.
|
||||
* `inline` - This is a list of command strings. The provisioner uses a default
|
||||
shell unless you specify a shell as the first command (eg., `#!/bin/bash`).
|
||||
You cannot provide this with `script` or `scripts`.
|
||||
|
||||
* `script` - This is a path (relative or absolute) to a local script that will
|
||||
be copied to the remote resource and then executed. This cannot be provided
|
||||
|
Loading…
Reference in New Issue
Block a user