-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathvariables.tf
39 lines (33 loc) · 1.47 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
########################################################################################################################
# Input variables
########################################################################################################################
#
# Module developer tips:
# - Examples are references that consumers can use to see how the module can be consumed. They are not designed to be
# flexible re-usable solutions for general consumption, so do not expose any more variables here and instead hard
# code things in the example main.tf with code comments explaining the different configurations.
# - For the same reason as above, do not add default values to the example inputs.
#
variable "ibmcloud_api_key" {
type = string
description = "The IBM Cloud API Key."
sensitive = true
}
variable "region" {
type = string
description = "Region to provision all resources created by this example."
}
variable "prefix" {
type = string
description = "A string value to prefix to all resources created by this example."
}
variable "resource_group" {
type = string
description = "The name of an existing resource group to provision resources in to. If not set a new resource group will be created using the prefix variable."
default = null
}
variable "resource_tags" {
type = list(string)
description = "List of resource tag to associate with all resource instances created by this example."
default = []
}