Skip to content

Commit 02aeaeb

Browse files
robo-caphyder
authored andcommitted
fix symlinks issues and cluster autoscaler defaults override
1 parent 51e2c76 commit 02aeaeb

File tree

6 files changed

+43
-69
lines changed

6 files changed

+43
-69
lines changed

module-cluster.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ module "cluster" {
131131
},
132132
local.service_lb_freeform_tags,
133133
)
134-
135-
providers = {
136-
oci.home = oci.home
137-
}
138134
}
139135

140136
output "cluster_id" {

module-network.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ module "network" {
137137
vcn_cidrs = local.vcn_cidrs
138138
vcn_id = local.vcn_id
139139
worker_is_public = var.worker_is_public
140-
141-
providers = {
142-
oci.home = oci.home
143-
}
144140
}
145141

146142
# VCN

modules/cluster/versions.tf

Lines changed: 0 additions & 16 deletions
This file was deleted.

modules/cluster/versions.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2017, 2024 Oracle Corporation and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
3+
4+
terraform {
5+
required_version = ">= 1.2.0"
6+
7+
required_providers {
8+
oci = {
9+
source = "oracle/oci"
10+
version = ">= 4.119.0"
11+
}
12+
}
13+
}

modules/extensions/autoscaler.tf

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,7 @@ data "helm_template" "cluster_autoscaler" {
6363
}
6464

6565
dynamic "set" {
66-
for_each = local.cluster_autoscaler_defaults
67-
iterator = helm_value
68-
content {
69-
name = helm_value.key
70-
value = helm_value.value
71-
}
72-
}
73-
74-
dynamic "set" {
75-
for_each = var.cluster_autoscaler_helm_values
66+
for_each = merge(local.cluster_autoscaler_defaults, var.cluster_autoscaler_helm_values)
7667
iterator = helm_value
7768
content {
7869
name = helm_value.key

modules/iam/versions.tf

Lines changed: 0 additions & 19 deletions
This file was deleted.

modules/iam/versions.tf

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Copyright (c) 2024 Oracle and/or its affiliates
2+
3+
# Copyright (c) 2017, 2024 Oracle Corporation and/or its affiliates.
4+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
5+
6+
terraform {
7+
required_version = ">= 1.2.0"
8+
9+
required_providers {
10+
oci = {
11+
configuration_aliases = [oci.home]
12+
source = "oracle/oci"
13+
version = ">= 4.119.0"
14+
}
15+
}
16+
}

modules/network/versions.tf

Lines changed: 0 additions & 16 deletions
This file was deleted.

modules/network/versions.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright (c) 2017, 2024 Oracle Corporation and/or its affiliates.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
3+
4+
terraform {
5+
required_version = ">= 1.2.0"
6+
7+
required_providers {
8+
oci = {
9+
source = "oracle/oci"
10+
version = ">= 4.119.0"
11+
}
12+
}
13+
}

0 commit comments

Comments
 (0)