forked from oracle-terraform-modules/terraform-oci-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
93 lines (85 loc) · 2.7 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
81
82
83
84
85
86
87
88
89
90
91
92
93
# Copyright 2017, 2019, Oracle Corporation and/or affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl
# Identity and access parameters
variable "oci_base_identity" {
type = object({
api_fingerprint = string
api_private_key_path = string
compartment_id = string
tenancy_id = string
user_id = string
})
description = "identity and provider parameters"
}
# general oci parameters
variable "oci_base_general" {
type = object({
label_prefix = string
region = string
})
description = "general oci parameters"
default = {
label_prefix = "base"
region = ""
}
}
# networking parameters
variable "oci_base_vcn" {
type = object({
create_nat_gateway = bool
create_service_gateway = bool
vcn_cidr = string
vcn_dns_label = string
vcn_name = string
})
description = "VCN basic parameters"
default = {
create_nat_gateway = false
create_service_gateway = false
vcn_cidr = "10.0.0.0/16"
vcn_dns_label = "base"
vcn_name = "base"
}
}
# bastion
variable "oci_base_bastion" {
type = object({
availability_domains = number
bastion_access = string
bastion_image_id = string
bastion_upgrade = bool
bastion_shape = string
create_bastion = bool
enable_instance_principal = bool
enable_notification = bool
newbits = number
netnum = number
notification_endpoint = string
notification_protocol = string
notification_topic = string
ssh_private_key_path = string
ssh_public_key_path = string
timezone = string
use_autonomous = bool
})
description = "bastion host parameters"
default = {
availability_domains = 1
bastion_access = "ANYWHERE"
bastion_image_id = "NONE"
bastion_shape = "VM.Standard.E2.1"
bastion_upgrade = true
create_bastion = false
enable_instance_principal = false
enable_notification = false
newbits = 13
netnum = 32
notification_endpoint = ""
notification_protocol = "EMAIL"
notification_topic = "bastion"
ssh_private_key_path = ""
ssh_public_key_path = ""
timezone = ""
use_autonomous = false
}
}