mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 07:43:07 +00:00
21 lines
609 B
HCL
21 lines
609 B
HCL
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" {}
|