-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvariables.tf
105 lines (90 loc) · 2.91 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
94
95
96
97
98
99
100
101
102
103
104
105
/*
Mandatory Variables
*/
variable "owner_name" {
description = "Your Username to identify your infrastructure"
}
variable "key_name" {
description = "Existing AWS KeyPair name. Must match the KeyPair referenced in key_file_path"
}
variable "key_file_path" {
description = "Location of the local private key file for the EC2 instance."
}
variable "converge" {
description = "When set to 'true', the configuration resources will all re-apply to their hosts."
default = "false"
}
/*
AWS specific
*/
variable "aws_profile" {
description = "The aws credentials file profile name."
default = "default"
}
variable "region" {
description = "AWS region to which the systems will be deployed."
default = "us-east-1"
}
variable "vpc_cidr" {
description = "Base Network CIDR for the new VPC"
default = "10.100.0.0/16"
}
/*
OnCommand Cloud Manager specific
*/
variable "occm_email" {
description = "Email address (username) for OnCommand Cloud Manager instance"
}
variable "occm_password" {
description = "Administrative password for OnCommand Cloud Manager instance"
}
variable "company_name" {
description = "Your company name to which the OnCommand Cloud manager system will be registered"
}
variable "occm_amis" {
type = "map"
description = "List of the OnCommand Cloud Manager AMIs per region."
default = {
"ap-south-1" = "ami-c2bdc2ad"
"eu-west-2" = "ami-fba8bf9f"
"eu-west-1" = "ami-bf9986d9"
"ap-northeast-2" = "ami-2e8d5240"
"ap-northeast-1" = "ami-8e979ee9"
"sa-east-1" = "ami-982843f4"
"ca-central-1" = "ami-38e9565c"
"ap-southeast-1" = "ami-b89c1edb"
"ap-southeast-2" = "ami-cb3322a8"
"eu-central-1" = "ami-975bfff8"
"us-east-1" = "ami-392c0a2f"
"us-east-2" = "ami-98a98ffd"
"us-west-1" = "ami-379ebc57"
"us-west-2" = "ami-0258537b"
}
}
/*
ONTAP Cloud specific
*/
variable "ontap_name" {
description = "New ONTAP Cloud Name"
default = "demolab"
}
variable "ontap_password" {
description = "New ONTAP Cloud password for Admin"
default = "netapp123"
}
variable "ontap_size" {
description = "Size of the Aggregate: Pick One - 100GB, 500GB, 1TB, 2TB, 4TB, 8TB"
default = "500GB"
}
variable "ontap_instance" {
description = "AWS Instance type for ONTAP Cloud instance. If not set, the default is 'm4.xlarge'. Note: must be a supported size for the selected license type"
default = "m4.xlarge"
}
variable "license_type" {
description = "ONTAP Cloud license type. Supported values are [cot-explore-paygo, cot-standard-paygo, cot-premium-paygo]. Default value is cot-explore-paygo"
default = "cot-explore-paygo"
}
variable "ontap_write_speed" {
description = "Sets the ONTAP Cloud write speed. 'Normal' is standard with high consistency guarantee, while 'high' will increase write performance at the risk of potential data loss in the event of a failure."
default = "normal"
}