-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
80 lines (71 loc) · 1.65 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
#
variable "tenancy_ocid" {}
variable "region" {}
variable "compartment_ocid" {}
variable "user_ocid" {
default = ""
}
variable "fingerprint" {
default = ""
}
variable "private_key_path" {
default = ""
}
# Compute
variable "num_instances" {
default = 2
}
variable "generate_public_ssh_key" {
default = true
}
variable "public_ssh_key" {
default = ""
}
variable "instance_shape" {
default = "VM.Standard.E2.1.Micro"
}
variable "image_operating_system" {
default = "Canonical Ubuntu"
}
variable "image_operating_system_version" {
default = "20.04"
}
variable "instance_visibility" {
default = "Public"
}
# Network Details
variable "lb_shape" {
default = "10Mbps-Micro"
}
variable "network_cidrs" {
type = map(string)
default = {
MAIN-VCN-CIDR = "10.1.0.0/16"
MAIN-SUBNET-REGIONAL-CIDR = "10.1.21.0/24"
MAIN-LB-SUBNET-REGIONAL-CIDR = "10.1.22.0/24"
ALL-CIDR = "0.0.0.0/0"
}
}
# Always Free only or support other shapes
variable "use_only_always_free_elegible_resources" {
default = true
}
# ORM Schema visual control variables
variable "show_advanced" {
default = false
}
# Customizing App
variable "dotnet_create_standard_webapp" {
default = true
}
variable "dotnet_standard_type" {
default = "webApp" # E.g.: blazorserver
}
variable "dotnet_custom_text_for_standard_webapp" {
default = "Welcome to the Oracle QuickStart"
}
variable "dotnet_git_custom_webapp" {
default = "https://github.com/aspnet/samples.git"
}