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

Commit a3332bf

Browse files
committed
Updated tags.tf
1 parent 14786ae commit a3332bf

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

provider.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ provider "oci" {
1717
private_key_path = var.private_key_path
1818
region = data.oci_identity_region_subscriptions.home_region_subscriptions.region_subscriptions[0].region_name
1919
disable_auto_retries = "true"
20-
}
20+
}

tags.tf

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@ resource "random_id" "tag" {
66
}
77

88
resource "oci_identity_tag_namespace" "ArchitectureCenterTagNamespace" {
9-
provider = oci.homeregion
10-
compartment_id = var.compartment_ocid
11-
description = "ArchitectureCenterTagNamespace"
12-
name = "ArchitectureCenter\\ha-cockroachdb-cluster-${random_id.tag.hex}"
9+
provider = oci.homeregion
10+
compartment_id = var.compartment_ocid
11+
description = "ArchitectureCenterTagNamespace"
12+
name = "ArchitectureCenter\\ha-cockroachdb-cluster-${random_id.tag.hex}"
1313

14-
provisioner "local-exec" {
15-
command = "sleep 10"
16-
}
14+
provisioner "local-exec" {
15+
command = "sleep 10"
16+
}
1717

1818
}
1919

2020
resource "oci_identity_tag" "ArchitectureCenterTag" {
21-
provider = oci.homeregion
22-
description = "ArchitectureCenterTag"
23-
name = "release"
24-
tag_namespace_id = oci_identity_tag_namespace.ArchitectureCenterTagNamespace.id
21+
provider = oci.homeregion
22+
description = "ArchitectureCenterTag"
23+
name = "release"
24+
tag_namespace_id = oci_identity_tag_namespace.ArchitectureCenterTagNamespace.id
2525

26-
validator {
27-
validator_type = "ENUM"
28-
values = ["release", "1.0"]
29-
}
26+
validator {
27+
validator_type = "ENUM"
28+
values = ["release", "1.0"]
29+
}
3030

31-
provisioner "local-exec" {
32-
command = "sleep 20"
33-
}
34-
}
31+
provisioner "local-exec" {
32+
command = "sleep 120"
33+
}
34+
}

variables.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ variable "instance_name" {
2727
}
2828

2929
variable "instance_shape" {
30-
default = "VM.Standard.E3.Flex"
30+
default = "VM.Standard.E3.Flex"
3131
}
3232

3333
variable "instance_flex_shape_ocpus" {
34-
default = 1
34+
default = 1
3535
}
3636

3737
variable "instance_flex_shape_memory" {
38-
default = 10
38+
default = 10
3939
}
4040

4141
variable "ssh_public_key" {
@@ -83,6 +83,6 @@ locals {
8383

8484
# Checks if is using Flexible Compute Shapes
8585
locals {
86-
is_flexible_lb_shape = var.lb_shape == "flexible" ? true : false
86+
is_flexible_lb_shape = var.lb_shape == "flexible" ? true : false
8787
is_flexible_node_shape = contains(local.compute_flexible_shapes, var.instance_shape)
8888
}

0 commit comments

Comments
 (0)