25 lines
395 B
HCL
25 lines
395 B
HCL
|
|
# Configure the OpenStack Provider
|
|
provider "openstack" {
|
|
cloud = "d4s-pre"
|
|
}
|
|
|
|
variable "dns-zone" {
|
|
type = string
|
|
default = "cloud-pre.d4science.org."
|
|
}
|
|
|
|
#### VM parameters
|
|
variable "flavor_http" {
|
|
type = string
|
|
default = "t2.medium"
|
|
}
|
|
|
|
variable "network_http" {
|
|
type = map(string)
|
|
default = {
|
|
subnet_name = "subnet-http"
|
|
cidr = "192.168.1.0/24"
|
|
}
|
|
}
|