Merge pull request #3469 from squaresurf/doc-update

A script must have executable permissions.
This commit is contained in:
Paul Hinze 2015-10-14 10:20:45 -05:00
commit 46952b9c13
1 changed files with 4 additions and 1 deletions

View File

@ -63,7 +63,10 @@ resource "aws_instance" "web" {
}
provisioner "remote-exec" {
inline = ["/tmp/script.sh args"]
inline = [
"chmod +x /tmp/script.sh",
"/tmp/script.sh args"
]
}
}
```