Skip to content

Commit 9d38d58

Browse files
Update commented provisioner
1 parent bc444f5 commit 9d38d58

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

provisioner.tf

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
# resource "null_resource" "remote-exec" {
2-
# # count = 2
3-
# depends_on = [oci_core_instance.instance-2, oci_core_instance.instance-3]
2+
# # count = 3
3+
# depends_on = [oci_core_instance.instance-1,oci_core_instance.instance-2, oci_core_instance.instance-3]
44

55
# provisioner "remote-exec" {
66
# connection {
77
# agent = false
88
# type = "ssh"
9-
# # host = "oci_core_instance.instance-${count.index + 1}.public_ip"
10-
# host = oci_core_instance.instance-2.public_ip
9+
# host = "oci_core_instance.instance-${count.index}.public_ip"
1110
# user = "ubuntu"
1211
# private_key = file(local.private_key_path)
1312
# timeout = "3m"

0 commit comments

Comments
 (0)