Add basic tofu workflow, debug gitea act secrets in env
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 0s
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 0s
This commit is contained in:
1 parent
e4abdeb926
commit
ac0c9ac39c
2 files changed
+30
No files matched your search
@@ -0,0 +1,24 @@
|
||||
terraform {
|
||||
required_providers {
|
||||
linode = {
|
||||
source = "linode/linode"
|
||||
# version = "..."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Configure the Linode Provider
|
||||
provider "linode" {
|
||||
token = var.token
|
||||
}
|
||||
|
||||
resource "linode_instance" "eqit_test_instance" {
|
||||
image = "linode/almalinux9"
|
||||
label = "act_worker"
|
||||
region = "us-ord"
|
||||
type = "g6-nanode-1"
|
||||
authorized_keys = ['ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeRI1w3uNny7KjK2UdlAnyoGdGgtOx4isSD52u5dr4QkkdLRMj42dLjgT0MK+QehlgaH2XzFPMDz+hZQ+66YeBSm+F4km/8F9XVyUzGl0scUA1p0pqeL3FiyM3Art4Bo71zuE3PvMjyI3pGMKQ3VDWVA0XdAjjSw4G+czJTxZLLBPGvzDT07WuWM4Evl6H21Gn7PB6CKNV0vuUZwGiCsjRbghml1L2kDtTXV1B6wQsniuhQigIVo6YXhMgge/2UCcmiyeEizdfaSstrQHEyxFMvlPUJyw4a3plAuPORDyZdAFF6OA7/wP5fVWoCu/CkbMIDjPifXGQOuhQU1qUVy7r','ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKvAESrM24zRUUenL1sGmtd5s+e7qhkUF+5ylPWTcG/y']
|
||||
root_pass = "supersecrettestpassword"
|
||||
}
|
||||
|
||||
variable "token" {}
|
||||
Reference in new issue
Block a user