add caladan vm

main
Ricard Illa 2022-08-24 18:27:37 +02:00
parent 4d3f5a73da
commit 549ae38af5
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 31 additions and 0 deletions

View File

@ -1,2 +1,33 @@
provider "linode" {
}
# https://www.linode.com/docs/guides/import-existing-infrastructure-to-terraform/
resource "linode_instance" "caladan-vm" {
label = "caladan"
region = "eu-central"
type = "g6-nanode-1"
config {
label = "My Alpine 3.13 Disk Profile"
kernel = "linode/grub2"
root_device = "/dev/sda"
devices {
sda {
disk_label = "Alpine 3.13 Disk"
}
sdb {
disk_label = "512 MB Swap Image"
}
}
}
disk {
label = "Alpine 3.13 Disk"
size = 25088
}
disk {
label = "512 MB Swap Image"
size = 512
}
}