This commit is contained in:
Mike Holloway committed 2025-01-06 01:27:13 -05:00
1 parent 32d0a09ccf
commit bb8b6dd978
9 files changed
+107 -234

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# Create a Linode
resource "linode_instance" "eqit_instance" {
image = var.image
label = var.label
region = var.region
type = var.type
authorized_keys = var.authorized_keys
root_pass = var.root_pass
}
+29
View File
@@ -0,0 +1,29 @@
variable "image" {
description = "Image to use for Linode instance"
default = "linode/almalinux9"
}
variable "label" {
description = "The Linode's label is for display purposes only, but must be unique."
default = "default-eqit-label"
}
variable "region" {
description = "The region where your Linode will be located."
default = "us-ord"
}
variable "type" {
description = "Your Linode's plan type."
default = "g6-standard-1"
}
variable "root_pass" {
description = "Your Linode's root user's password."
}
variable "authorized_keys" {
description = "SSH Keys to use for the Linode."
type = list
default = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeRI1w3uNny7KjK2UdlAnyoGdGgtOx4isSD52u5dr4QkkdLRMj42dLjgT0MK+QehlgaH2XzFPMDz+hZQ+66YeBSm+F4km/8F9XVyUzGl0scUA1p0pqeL3FiyM3Art4Bo71zuE3PvMjyI3pGMKQ3VDWVA0XdAjjSw4G+czJTxZLLBPGvzDT07WuWM4Evl6H21Gn7PB6CKNV0vuUZwGiCsjRbghml1L2kDtTXV1B6wQsniuhQigIVo6YXhMgge/2UCcmiyeEizdfaSstrQHEyxFMvlPUJyw4a3plAuPORDyZdAFF6OA7/wP5fVWoCu/CkbMIDjPifXGQOuhQU1qUVy7r"]
}