Rearranged token data, resolves 401 invalid token error on tofu apply

This commit is contained in:
Mike Holloway committed 2025-01-06 03:24:30 -05:00
1 parent 97f55eada6
commit 66f6d6df45
5 files changed
+33 -17

No files matched your search

+14
View File
@@ -1,3 +1,17 @@
terraform {
required_providers {
linode = {
source = "linode/linode"
# version = "..."
}
}
}
# Configure the Linode Provider
provider "linode" {
token = var.instance_token
}
resource "linode_instance" "eqit_instance" {
image = var.image
label = var.label
+2
View File
@@ -11,6 +11,8 @@ variable "vpc_ipv4_addr" {
description = "Linode VPC ipv4 address"
}
variable "instance_token" {}
## Optional Variables
variable "image" {
description = "Image to use for Linode instance"