Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 33371ad

Browse files
committed
Syntax fix
1 parent f9fb24a commit 33371ad

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

terraform/compute.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module "bastion" {
55
compartment_ocid = "${var.compartment_ocid}"
66
subnet_id = "${module.network.bastion-id}"
77
availability_domain = "${lookup(data.oci_identity_availability_domains.ADs.availability_domains[var.availability_domain - 1],"name")}"
8-
image_ocid = "${var.ImageInstanceOCID[var.region]}"
8+
image_ocid = "${var.InstanceImageOCID[var.region]}"
99
ssh_keypath = "${var.ssh_keypath}"
1010
ssh_private_key = "${var.ssh_private_key}"
1111
ssh_public_key = "${var.ssh_public_key}"
@@ -23,7 +23,7 @@ module "utility" {
2323
compartment_ocid = "${var.compartment_ocid}"
2424
subnet_id = "${module.network.public-id}"
2525
availability_domain = "${lookup(data.oci_identity_availability_domains.ADs.availability_domains[var.availability_domain - 1],"name")}"
26-
image_ocid = "${var.ImageInstanceOCID[var.region]}"
26+
image_ocid = "${var.InstanceImageOCID[var.region]}"
2727
ssh_keypath = "${var.ssh_keypath}"
2828
ssh_private_key = "${var.ssh_private_key}"
2929
ssh_public_key = "${var.ssh_public_key}"
@@ -41,7 +41,7 @@ module "master" {
4141
compartment_ocid = "${var.compartment_ocid}"
4242
subnet_id = "${module.network.private-id}"
4343
availability_domain = "${lookup(data.oci_identity_availability_domains.ADs.availability_domains[var.availability_domain - 1],"name")}"
44-
image_ocid = "${var.ImageInstanceOCID[var.region]}"
44+
image_ocid = "${var.InstanceImageOCID[var.region]}"
4545
ssh_keypath = "${var.ssh_keypath}"
4646
ssh_private_key = "${var.ssh_private_key}"
4747
ssh_public_key = "${var.ssh_public_key}"
@@ -59,7 +59,7 @@ module "worker" {
5959
compartment_ocid = "${var.compartment_ocid}"
6060
subnet_id = "${module.network.private-id}"
6161
availability_domain = "${lookup(data.oci_identity_availability_domains.ADs.availability_domains[var.availability_domain - 1],"name")}"
62-
image_ocid = "${var.ImageInstanceOCID[var.region]}"
62+
image_ocid = "${var.InstanceImageOCID[var.region]}"
6363
ssh_keypath = "${var.ssh_keypath}"
6464
ssh_private_key = "${var.ssh_private_key}"
6565
ssh_public_key = "${var.ssh_public_key}"

terraform/modules/master/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ resource "oci_core_instance" "Master" {
1010

1111
source_details {
1212
source_type = "image"
13-
source_id = "${var.image_ocid"
13+
source_id = "${var.image_ocid}"
1414
}
1515

1616
metadata {

0 commit comments

Comments
 (0)