blob: d20191f33b132d59d6beeb82b3dd6adf9904bfd5 [file] [log] [blame]
cm-bot80d4fe12023-09-13 10:28:35 -04001variable "msg" {
2 default = "ok"
3}
4
5resource "test_instance" "a" {
6 foo = "a"
7}
8
9
10resource "test_instance" "b" {
11 foo = "b"
12 provisioner "shell" {
13 command = "echo ${var.msg}"
14 }
15 connection {
16 host = test_instance.a.id
17 }
18}