Use minio_server variable for output
This commit is contained in:
		
							parent
							
								
									bf08ae8f81
								
							
						
					
					
						commit
						66e2565786
					
				
					 3 changed files with 5 additions and 1 deletions
				
			
		|  | @ -16,7 +16,7 @@ output "minio_data" { | |||
|       secret_key   = minio_accesskey.service_access_keys[val].secret_key | ||||
|       name         = minio_s3_bucket.service_buckets[key].bucket | ||||
|       region       = "eu-de-1" // TODO make dynamic | ||||
|       api_endpoint = "https://s3.serguzim.me" // TODO make dynamic | ||||
|       api_endpoint = "https://${var.minio_server}" | ||||
|     } | ||||
|   } | ||||
|   sensitive = true | ||||
|  |  | |||
|  | @ -2,6 +2,8 @@ variable "admin_email" {} | |||
| 
 | ||||
| variable "authentik_url" {} | ||||
| 
 | ||||
| variable "minio_server" {} | ||||
| 
 | ||||
| variable "services" { | ||||
|   type = map(object({ | ||||
|     host = string | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue