-
Notifications
You must be signed in to change notification settings - Fork 1
/
input.tf
41 lines (33 loc) · 1.14 KB
/
input.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
variable "quantity" {
default = 1
description = "Number of basic instances to start"
}
variable "image_name" {
default = "ubuntu-20.04-x86_64"
description = "Image Name of VM to start on NERC, look at the images in Horizon"
}
variable "image_id" {
default = "8c87cf6f-32f9-4a4b-91a5-0d734b7c9770"
description = "Image ID of VM to start on NERC, look at the API images in Horizon"
}
variable "vm_flavor" {
default = "m1.tiny"
description = "VM flavor to to start https://nerc-project.github.io/nerc-docs/openstack/create-and-connect-to-the-VM/flavors/"
}
variable "keypair-name" {
description = "SSH Keypair name. This is the name it will be in OpenStack"
default = "username-keypair"
}
variable "keypair-path" {
default = "~/.ssh/username-keypair.pub"
description = "SSH Keypair PUBLIC key location - You can generate `ssh-keygen -t rsa -f outputname`"
}
# Network Options
variable "secgroup" {
default = "username-ssh-only"
description = "Name of Security Group created and applied to the VMs"
}
variable "network_name" {
default = "default_network"
description = "Name of your Network"
}