We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc444f5 commit 9d38d58Copy full SHA for 9d38d58
provisioner.tf
@@ -1,13 +1,12 @@
1
# resource "null_resource" "remote-exec" {
2
-# # count = 2
3
-# depends_on = [oci_core_instance.instance-2, oci_core_instance.instance-3]
+# # count = 3
+# depends_on = [oci_core_instance.instance-1,oci_core_instance.instance-2, oci_core_instance.instance-3]
4
5
# provisioner "remote-exec" {
6
# connection {
7
# agent = false
8
# type = "ssh"
9
-# # host = "oci_core_instance.instance-${count.index + 1}.public_ip"
10
-# host = oci_core_instance.instance-2.public_ip
+# host = "oci_core_instance.instance-${count.index}.public_ip"
11
# user = "ubuntu"
12
# private_key = file(local.private_key_path)
13
# timeout = "3m"
0 commit comments