mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Provision with Teraform instead of Ansible
This commit is contained in:
parent
3f36885343
commit
9e83baffb3
9 changed files with 147 additions and 60 deletions
35
terraform/variables.tf
Normal file
35
terraform/variables.tf
Normal 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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue