Working tofu plan

This commit is contained in:
Mike Holloway committed 2025-01-06 01:52:23 -05:00
1 parent bb8b6dd978
commit f81ad1c887
5 files changed
+52 -44

No files matched your search

+1 -2
View File
@@ -1,9 +1,8 @@
# 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
root_pass = var.root_pass
}
+6 -4
View File
@@ -1,3 +1,9 @@
## Required Variables
variable "root_pass" {
description = "Your Linode's root user's password."
}
## Optional Variables
variable "image" {
description = "Image to use for Linode instance"
default = "linode/almalinux9"
@@ -18,10 +24,6 @@ variable "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