generated from oracle-devrel/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
54 lines (47 loc) · 1.69 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## Copyright (c) 2023, Oracle and/or its affiliates.
## All rights reserved. The Universal Permissive License (UPL), Version 1.0 as shown at http://oss.oracle.com/licenses/upl
# Prepopulated variable by Resource Manager
variable "tenancy_ocid" {}
variable "compartment_ocid" {}
variable "region" {}
variable current_user_ocid {}
# variable "user_ocid" {}
# variable "fingerprint" {}
# variable "private_key_path" {}
variable "prefix" {
default = "starter"
description = "Application name. Will be used as prefix to identify resources"
}
variable "oci_username" {
default="oracleidentitycloudservice/name@domain.com"
}
locals {
ocir_docker_repository = join("", [lower(lookup(data.oci_identity_regions.current_region.regions[0], "key")), ".ocir.io"])
ocir_namespace = lookup(data.oci_objectstorage_namespace.ns, "namespace")
}
variable "compartment_id" {}
variable "language" {}
variable "java_framework" {default="SpringBoot"}
variable "java_vm" {default="JDK"}
variable "java_version" {}
variable "vcn_strategy" {}
variable "vcn_ocid" {default=""}
variable "subnet_ocid" {default=""}
variable "ui_type" {}
variable "deploy_type" {}
variable "kubernetes_strategy" {default=""}
variable "oke_strategy" {default=""}
variable "oke_ocid" {default=""}
variable "db_type" {}
variable "db_existing_strategy" {}
variable "atp_ocid" {default=""}
variable "db_ocid" {default=""}
variable "mysql_ocid" {default=""}
variable "opensearch_ocid" {default=""}
variable "db_user" {default="admin"}
variable "db_password" {}
variable "vault_strategy" {}
variable "secret_strategy" { default="" }
variable "vault_ocid" { default="" }
variable "vault_secret_authtoken_ocid" { default="" }
variable "oci_token" { default="" }