Files
infra/archive/1-coreos/3-configure-hashistack/jaglan-beta.tf
Renovate Bot a5f3b8d307
All checks were successful
CI / Terraform fmt + validate (pull_request) Successful in 23s
CI / Nomad job spec validate (pull_request) Successful in 27s
CI / Docker image pull validation (pull_request) Successful in 12s
Update Terraform system to v0.5.0
2026-04-20 04:02:09 +00:00

35 lines
640 B
HCL

terraform {
required_providers {
system = {
source = "neuspaces/system"
version = "0.5.0"
}
}
}
provider "system" {
ssh {
host = "jaglan-beta-m42"
user = "core"
agent = true
}
}
resource "system_file" "static_content" {
path = "/etc/consul.d/consul.hcl"
content = "Hello world!"
}
resource "terraform_data" "jaglan-beta" {
provisioner "file" {
source = "consul.hcl"
#destination = "/etc/consul.d/consul.hcl"
destination = "./consul.hcl"
}
connection {
type = "ssh"
user = "core"
host = "jaglan-beta-m42"
}
}