Merge pull request #3469 from squaresurf/doc-update
A script must have executable permissions.
This commit is contained in:
commit
46952b9c13
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue