Skip to content

Commit e6cb7fb

Browse files
committed
Fixed region and tenancy id
1 parent 018c75d commit e6cb7fb

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

oci_lens_terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ module "app" {
124124

125125
namespace = var.namespace
126126
compartment_ocid = var.compartment_ocid
127-
region = var.region
127+
region = local.cluster_region
128128
cluster_ocid = local.cluster_id
129129
tenancy_ocid = var.tenancy_ocid
130130
create_iam_policy = var.create_iam_policy

oci_lens_terraform/modules/app/main.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,16 @@ resource "helm_release" "app" {
2929
atomic = false
3030
cleanup_on_fail = false
3131

32+
set {
33+
name = "backend.regionName"
34+
value = var.region
35+
}
36+
37+
set {
38+
name = "backend.tenancyId"
39+
value = var.tenancy_ocid
40+
}
41+
3242
set {
3343
name = "backend.superuser.username"
3444
value = var.superuser_username

0 commit comments

Comments
 (0)