mirror of
				https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
				synced 2025-10-27 23:57:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			779 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			779 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
| terraform {
 | |
|   required_providers {
 | |
|     random = {
 | |
|       source  = "hashicorp/random"
 | |
|       version = "~> 3.6"
 | |
|     }
 | |
|     vaultwarden = {
 | |
|       source = "ottramst/vaultwarden"
 | |
|       version = "0.4.4"
 | |
|     }   
 | |
|     bitwarden = {
 | |
|       source  = "maxlaverse/bitwarden"
 | |
|       version = ">= 0.15.0"
 | |
|     } 
 | |
|     proxmox = {
 | |
|       source = "bpg/proxmox"
 | |
|       version = "0.82.1"
 | |
|     }
 | |
|   }
 | |
|   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" {} | 
