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

Commit 0d97ae3

Browse files
author
Andrew Trice
authored
fix "Duplicate object key" error (#95)
* removed unused cluster version lookup Signed-off-by: Andrew Trice <[email protected]>
1 parent 626e674 commit 0d97ae3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

main.tf

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ locals {
66
server_url = lookup(data.ibm_container_vpc_cluster.config, "public_service_endpoint_url", "")
77
ingress_hostname = lookup(data.ibm_container_vpc_cluster.config, "ingress_hostname", "")
88
tls_secret = lookup(data.ibm_container_vpc_cluster.config, "ingress_secret", "")
9-
openshift_versions = {
10-
for version in lookup(data.ibm_container_cluster_versions.cluster_versions, "valid_openshift_versions", []):
11-
substr(version, 0, 3) => "${version}_openshift"
12-
}
139
cluster_type_cleaned = var.ocp_version != null && var.ocp_version != "" ? var.ocp_version : "4.10"
1410
cluster_type = "openshift"
1511
# value should be ocp4, ocp3, or kubernetes

0 commit comments

Comments
 (0)