Merge pull request #31310 from ianmrose-cm/main

Add shell explanation to remote-exec `inline` argument documentation.
This commit is contained in:
Laura Pacilio 2022-07-05 10:47:12 -04:00 committed by GitHub
commit 8fac3d63d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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