Skip to content

Commit d801016

Browse files
authored
Update locals.tf (#74)
a little more cruft
1 parent 912183c commit d801016

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

examples/database/locals.tf

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ locals {
3232

3333
oci_base_bastion = {
3434
availability_domains = var.availability_domains["bastion"]
35+
availability_domain = var.availability_domains["bastion"]
3536
bastion_enabled = var.bastion_enabled
3637
bastion_access = var.bastion_access
3738
bastion_image_id = var.bastion_image_id
@@ -45,13 +46,16 @@ locals {
4546
notification_topic = var.bastion_notification_topic
4647
ssh_private_key_path = var.ssh_private_key_path
4748
ssh_public_key_path = var.ssh_public_key_path
48-
tags = var.tags["bastion"]
4949
timezone = var.bastion_timezone
5050
use_autonomous = var.bastion_use_autonomous
51+
tags = {
52+
role = "bastion"
53+
}
5154
}
5255

5356
oci_base_operator = {
5457
availability_domains = var.availability_domains["operator"]
58+
availability_domain = var.availability_domains["operator"]
5559
operator_enabled = var.operator_enabled
5660
operator_image_id = "NONE"
5761
operator_shape = var.operator_shape
@@ -65,8 +69,10 @@ locals {
6569
notification_topic = var.operator_notification_topic
6670
ssh_private_key_path = var.ssh_private_key_path
6771
ssh_public_key_path = var.ssh_public_key_path
68-
tags = var.tags["operator"]
6972
timezone = var.operator_timezone
73+
tags = {
74+
role = "operator"
75+
}
7076
}
7177

7278
db_identity = {

0 commit comments

Comments
 (0)