mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 07:43:07 +00:00
teste-0
This commit is contained in:
20
main.tf
Normal file
20
main.tf
Normal 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" {}
|
||||
Reference in New Issue
Block a user