diff --git a/provider/scaleway/main.tf b/provider/scaleway/main.tf index 00cf828..a4e19a1 100644 --- a/provider/scaleway/main.tf +++ b/provider/scaleway/main.tf @@ -17,7 +17,7 @@ variable "region" { variable "type" { type = "string" - default = "VC1S" + default = "VC1M" } variable "image" { @@ -25,6 +25,10 @@ variable "image" { default = "Ubuntu_Xenial" } +variable "storage_size" { + default = 50 +} + provider "scaleway" { organization = "${var.organization}" token = "${var.token}" @@ -40,6 +44,11 @@ resource "scaleway_server" "host" { count = "${var.hosts}" + volume = { + size_in_gb = "${var.storage_size}" + type = "l_ssd" + } + provisioner "remote-exec" { inline = [ "apt-get update",