Skip to content

Commit 39a555d

Browse files
fix error
1 parent aaa5223 commit 39a555d

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

cluster_creation_terraform/outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ output "oke_cluster_id" {
1515
}
1616

1717
output "oci_ai_blueprints_link_for_button" {
18-
value = var.oci_ai_blueprints_link_variable
18+
value = local.oci_ai_blueprints_link
1919
}
2020

2121
output "oci_ai_blueprints_link_for_section" {
22-
value = var.oci_ai_blueprints_link_variable
22+
value = local.oci_ai_blueprints_link
2323
}
2424

2525
output "vcn_name" {

cluster_creation_terraform/schema.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,6 @@ variables:
130130
user_ocid:
131131
visible: false
132132

133-
oci_ai_blueprints_link_variable:
134-
visible: false
135-
136133

137134
outputs:
138135

cluster_creation_terraform/variables.tf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
22
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
33
#
4-
variable "oci_ai_blueprints_link_variable" {
5-
type = string
6-
default = file("${path.module}/OCI_AI_BLUEPRINTS_LINK")
7-
}
84

95
# OKE Variables
106
## OKE Cluster Details
@@ -94,8 +90,9 @@ variable "show_advanced" {
9490

9591
# App Name Locals
9692
locals {
97-
app_name = random_string.app_name_autogen.result
98-
app_name_normalized = random_string.app_name_autogen.result
93+
app_name = random_string.app_name_autogen.result
94+
app_name_normalized = random_string.app_name_autogen.result
95+
oci_ai_blueprints_link = file("${path.module}/OCI_AI_BLUEPRINTS_LINK")
9996
}
10097

10198
# Dictionary Locals

0 commit comments

Comments
 (0)