-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
77 lines (60 loc) · 2.19 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
# Copyright (c) 2022 Oracle Corporation and/or affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
# general oci parameters
variable "compartment_id" {
description = "compartment id where to create all resources"
type = string
# no default value, asking user to explicitly set this variable's value. see codingconventions.adoc
}
variable "drg_compartment_id" {
description = "compartment id where the DRG is located"
type = string
default = null
}
variable "label_prefix" {
description = "a string that will be prepended to all resources"
type = string
default = "none"
}
variable "freeform_tags" {
description = "simple key-value pairs to tag the created resources using freeform OCI Free-form tags."
type = map(any)
default = {
terraformed = "Please do not edit manually"
module = "oracle-terraform-modules/vcn/oci//modules/drg"
}
}
variable "defined_tags" {
description = "predefined and scoped to a namespace to tag the created resources using OCI Defined tags."
type = map(any)
default = null
}
# drg parameters
variable "drg_display_name" {
description = "(Updatable) Name of Dynamic Routing Gateway. Does not have to be unique."
type = string
default = "drg"
validation {
condition = length(var.drg_display_name) > 0
error_message = "The drg_display_name value cannot be an empty string."
}
}
variable "drg_vcn_attachments" {
description = "The OCID of the network resource attached to the DRG"
type = map(any)
default = null
}
variable "drg_id" {
description = "ID of an external created DRG"
type = string
default = null
}
# rpc parameters
# map of remote peering connections
# - key-only items represent represent local acceptors with no info about the remote peer
# - items containing key and values represent local requestor and must have the OCID and region of the remote acceptor
variable "remote_peering_connections" {
description = "List of parameters to add and optionally peer to remote peering connections"
type = map(any)
default = null
}