opentofu/config/test-fixtures/connection.tf

24 lines
381 B
Terraform
Raw Normal View History

2014-07-28 12:43:00 -05:00
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"
}
}