infra: introduce terraform/opentofu for proxmox management
- move ansible project within infra - introduce terraform/opentofu for proxmox VM management
This commit is contained in:
		
							
								
								
									
										25
									
								
								infra/terraform/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								infra/terraform/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,25 @@ | ||||
| # Terraform Configuration | ||||
|  | ||||
| > This project uses OpenTofu instead of Terraform. OpenTofu is a fork of | ||||
| > Terraform that is compatible with Terraform configurations and provides | ||||
| > similar functionality. | ||||
|  | ||||
| This directory contains Terraform configurations for managing | ||||
| infrastructure resources. It includes configurations for Proxmox. | ||||
|  | ||||
| The plan is to eventually migrate all infrastructure management to Terraform, | ||||
| including Kubernetes clusters and other resources. Currently, the Proxmox | ||||
| configuration is fully managed by Terraform, while Kubernetes resources are | ||||
| managed using Helm charts and kubectl commands. Previously, the Proxmox | ||||
| configuration was managed using Ansible, but it has been migrated to Terraform | ||||
| for better consistency and state management. | ||||
|  | ||||
| The terraform state files are stored in a remote backend, which allows for | ||||
| collaboration and state management across different environments. The backend | ||||
| configuration is defined in the `backend.tf` file. The backend is set up to use | ||||
| minio as the storage backend. | ||||
|  | ||||
| ## Proxmox | ||||
|  | ||||
| The Proxmox configuration is located in the `proxmox` directory. | ||||
| It uses the Proxmox provider to manage virtual machines and other resources. | ||||
		Reference in New Issue
	
	Block a user