-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathvariables.tf
59 lines (50 loc) · 1.75 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
variable "ibmcloud_api_key" {
description = "APIkey that's associated with the account to provision resources to"
type = string
sensitive = true
}
variable "resource_group" {
type = string
description = "An existing resource group name to use for this example, if unset a new resource group will be created"
default = null
}
variable "region" {
description = "The region to which to deploy the VPC"
type = string
default = "us-east"
}
variable "prefix" {
description = "The prefix that you would like to append to your resources"
type = string
default = "slz-vsi"
}
variable "resource_tags" {
description = "List of Tags for the resource created"
type = list(string)
default = null
}
variable "access_tags" {
type = list(string)
description = "A list of access tags to apply to the VSI resources created by the module."
default = []
}
variable "image_id" {
description = "Image ID used for VSI. Run 'ibmcloud is images' to find available images. Be aware that region is important for the image since the id's are different in each region."
type = string
default = "r014-b1d1e699-bb46-470b-bb3a-cd00dc6f1410" # NOTE: this ID is for us-east region, Redhat 8.10 minimal
}
variable "machine_type" {
description = "VSI machine type"
type = string
default = "cx2-2x4"
}
variable "ssh_key" {
type = string
description = "An existing ssh key name to use for this example, if unset a new ssh key will be created"
default = null
}
variable "snapshot_consistency_group_id" {
type = string
description = "An existing Snapshot Consistency Group Id, used to automatically determine volume snapshots for deployment"
default = null
}