diff --git a/deploy.tf b/deploy.tf index 0bc9a6e51d9398be610475ca3d1dd3521e222dc4..0137bf38a4e20110b45db50fb118a2f246ca8d5f 100644 --- a/deploy.tf +++ b/deploy.tf @@ -1,4 +1,8 @@ provider "openstack" { + token = var.token + auth_url = "https://identity.cloud.muni.cz/v3" + region = "brno1" + allow_reauth = false } terraform { diff --git a/variables.tf b/variables.tf index 2b21b98d340fda018f206063e0a71eb5ec796a12..b8147e1d0283641a82254480c4aa88ac725972ce 100644 --- a/variables.tf +++ b/variables.tf @@ -98,6 +98,11 @@ variable "ssh" { default = "openstack" } +variable "token" { + description = "OpenStack token" + default = null +} + variable "volumes" { description = "Number of data volumes per node (zero means system disk)" default = 2