Rearranged token data, resolves 401 invalid token error on tofu apply
This commit is contained in:
1 parent
97f55eada6
commit
66f6d6df45
5 files changed
+33
-17
No files matched your search
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user