This commit is contained in:
Tomás Limpinho
2025-08-18 19:44:52 +01:00
parent efe55e5d21
commit f202e105cf
9 changed files with 89 additions and 1 deletions

20
main.tf Normal file
View File

@ -0,0 +1,20 @@
terraform {
required_providers {
random = {
source = "hashicorp/random"
version = "~> 3.6"
}
vaultwarden = {
source = "ottramst/vaultwarden"
version = "0.4.4"
}
}
backend "consul" {
address = "consul-server.iac-consul.svc.cluster.local:8500" # Consul service DNS inside cluster
path = "opentofu/iac-fenix" # unique path per project
scheme = "http" # or "https" if you add TLS
lock = true # enable state locking
}
}
provider "random" {}