mirror of
				https://github.com/KevinMidboe/kazan-terraform.git
				synced 2025-10-29 17:50:16 +00:00 
			
		
		
		
	Local proxmox provider and local variables
This commit is contained in:
		
							
								
								
									
										8
									
								
								locals.tf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								locals.tf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | |||||||
|  | locals { | ||||||
|  |   domain = "schleppe" | ||||||
|  |   node   = "apollo" | ||||||
|  |  | ||||||
|  |   nameserver   = "10.0.0.72" | ||||||
|  |   searchdomain = "schleppe" | ||||||
|  |   public_ssh_keys = [] | ||||||
|  | } | ||||||
							
								
								
									
										11
									
								
								provider.tf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								provider.tf
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | |||||||
|  | provider "proxmox" { | ||||||
|  |   pm_api_url          = "https://${local.node}.${local.domain}:8006/api2/json" | ||||||
|  |   pm_tls_insecure     = true | ||||||
|  |   pm_debug            = true | ||||||
|  |   pm_log_enable       = true | ||||||
|  |   pm_log_file         = "terraform-plugin-proxmox.log" | ||||||
|  |   pm_log_levels = { | ||||||
|  |     _default    = "debug" | ||||||
|  |     _capturelog = "" | ||||||
|  |   } | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user