Skip to content

Commit 8fac3d6

Browse files
authored
Merge pull request hashicorp#31310 from ianmrose-cm/main
Add shell explanation to remote-exec `inline` argument documentation.
2 parents e6d1716 + 1e26403 commit 8fac3d6

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎website/docs/language/resources/provisioners/remote-exec.mdx‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ resource "aws_instance" "web" {
4848

4949
The following arguments are supported:
5050

51-
* `inline` - This is a list of command strings. They are executed in the order
52-
they are provided. This cannot be provided with `script` or `scripts`.
51+
* `inline` - This is a list of command strings. The provisioner uses a default
52+
shell unless you specify a shell as the first command (eg., `#!/bin/bash`).
53+
You cannot provide this with `script` or `scripts`.
5354

5455
* `script` - This is a path (relative or absolute) to a local script that will
5556
be copied to the remote resource and then executed. This cannot be provided

0 commit comments

Comments
 (0)