b3bffb22c0
modified: ../.gitignore Added env files modified: ../ansible/playbooks/equilibrateit.com.yml Moved tasks to role deleted: ../docker-compose.yml Moved file to role new file: main.tf Tofu provider new file: variables.tf Tofu resource variables deleted: ../wordpress/apache/Dockerfile Changed file to template, moved to role
23 lines
374 B
HCL
23 lines
374 B
HCL
terraform {
|
|
required_providers {
|
|
linode = {
|
|
source = "linode/linode"
|
|
version = "2.26.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider linode {
|
|
# Configuration options
|
|
token = var.token
|
|
}
|
|
|
|
resource linode_instance "instance" {
|
|
label = var.label
|
|
image = var.image
|
|
region = var.region
|
|
type = var.type
|
|
authorized_keys = var.authorized_keys
|
|
root_pass = var.root_pass
|
|
}
|