Provision with Teraform instead of Ansible

This commit is contained in:
Paul-Henri Froidmont 2018-09-15 01:18:57 +02:00
parent 3f36885343
commit 9e83baffb3
9 changed files with 147 additions and 60 deletions

35
terraform/variables.tf Normal file
View file

@ -0,0 +1,35 @@
variable "region" {
default = "par1"
}
variable "architecture" {
default = "x86_64"
}
variable "image" {
default = "Ubuntu Bionic"
}
variable "master_instance_type" {
default = "START1-S"
}
variable "master_instance_count" {
default = 3
}
variable "proxy_instance_type" {
default = "START1-S"
}
variable "worker_instance_type" {
default = "START1-S"
}
variable "worker_volume_size" {
default = 100
}
variable "worker_instance_count" {
default = 3
}