31 lines
492 B
Plaintext
31 lines
492 B
Plaintext
## vars
|
|
variable "provider_config" {
|
|
type = map(string)
|
|
default = {
|
|
auth_url = "${AUTH_URL}"
|
|
auth_user = "${ACCOUNT}"
|
|
auth_pass = "${ACCOUNT_PASSWORD}"
|
|
project = "${PROJECT}"
|
|
}
|
|
}
|
|
|
|
variable "extnetid" {
|
|
type = string
|
|
default = "${PROVIDER_NET_ID}"
|
|
}
|
|
|
|
variable "image" {
|
|
type = string
|
|
default = "${IMAGE}"
|
|
}
|
|
|
|
variable "flavor" {
|
|
type = string
|
|
default = "${FLAVOR}"
|
|
}
|
|
|
|
locals {
|
|
project = "${var.provider_config["project"]}"
|
|
pubkey = "${PUB_KEY}"
|
|
}
|