-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
62 lines (49 loc) · 865 Bytes
/
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
variable "vm_name" {
type = string
default = "Terraform_VM"
}
variable "Memory_in_MB" {
type = number
default = 2048
}
variable "vcpus_per_socket" {
type = number
default = 1
}
variable "no_socket" {
type = number
default = 1
}
variable "cluster_name" {
type = string
default = "POC"
}
variable "endpoint" {
type = string
default = "PC_IP"
}
variable "user" {
type = string
default = "PC_user"
}
variable "password" {
type = string
default = "PC_pass"
}
variable "subnet_name" {
type = string
default = "Primary"
}
variable "image_name" {
type = string
default = "CentOS"
}
data "nutanix_cluster" "myCluster" {
name = var.cluster_name
}
data "nutanix_subnet" "subnet_info" {
subnet_name = var.subnet_name
}
data "nutanix_image" "image_info" {
image_name = var.image_name
}