Working module as per https://www.linode.com/docs/guides/create-terraform-module/
This commit is contained in:
1 parent
32d0a09ccf
commit
bb8b6dd978
9 files changed
+107
-234
No files matched your search
@@ -0,0 +1,27 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
linode = {
|
||||
source = "linode/linode"
|
||||
# version = "..."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Configure the Linode Provider
|
||||
provider "linode" {
|
||||
token = var.token
|
||||
}
|
||||
|
||||
data linode_instances "eqit_instances" {
|
||||
filter {
|
||||
name = "tags"
|
||||
values = ["tofu-manage"]
|
||||
}
|
||||
}
|
||||
|
||||
# Create a Linode
|
||||
#resource "linode_instance" "observability" {
|
||||
# label = "observability"
|
||||
#
|
||||
#
|
||||
#}
|
||||
Reference in new issue
Block a user