opentofu/config/test-fixtures/connection.tf
Mitchell Hashimoto d28e5a1638 dos2unix
2014-07-28 10:43:00 -07:00

24 lines
381 B
HCL

resource "aws_instance" "web" {
ami = "${var.foo}"
security_groups = [
"foo",
"${aws_security_group.firewall.foo}"
]
connection {
type = "ssh"
user = "root"
}
provisioner "shell" {
path = "foo"
connection {
user = "nobody"
}
}
provisioner "shell" {
path = "bar"
}
}