Skip to content

Commit bd0b983

Browse files
committed
Add[#124]: local-exec multi command example
1 parent 798f0c7 commit bd0b983

File tree

1 file changed

+11
-0
lines changed
  • getting-started/local-exec/multi-command

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
resource "null_resource" "local_debug" {
2+
provisioner "local-exec" {
3+
command = <<EOT
4+
date
5+
df -h
6+
echo "This is multi command mode"
7+
ls -la
8+
echo "Done!"
9+
EOT
10+
}
11+
}

0 commit comments

Comments
 (0)