Refactor output
This commit is contained in:
		
							parent
							
								
									01ee9d4b44
								
							
						
					
					
						commit
						8ad3a4a041
					
				
					 9 changed files with 52 additions and 47 deletions
				
			
		
							
								
								
									
										4
									
								
								main.tf
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								main.tf
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -86,6 +86,8 @@ provider "tailscale" {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
locals {
 | 
			
		||||
  service_auths = {for key, val in var.services : key => val if val.auth}
 | 
			
		||||
  services_auth = {for key, val in var.services : key => val if val.auth}
 | 
			
		||||
  services_database = {for key, val in var.services : key => val if val.database}
 | 
			
		||||
  services_s3 = {for key, val in var.services : key => val if val.s3}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue