Skip to content

Commit c7e0cc1

Browse files
Merge pull request #63 from oracle-quickstart/update_to_v1.0.1
Small Update to Schema.yaml to Allow Users to Choose v1.0.1
2 parents 9230fca + 39a555d commit c7e0cc1

File tree

4 files changed

+7
-12
lines changed

4 files changed

+7
-12
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

oci_ai_blueprints_terraform/schema.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,9 @@ variables:
459459
title: "Stack Version"
460460
type: enum
461461
enum:
462+
- "v1.0.1"
462463
- "v1.0.0"
463-
default: "v1.0.0"
464+
default: "v1.0.1"
464465
required: true
465466
visible: true
466467

0 commit comments

Comments
 (0)