mirror of
				https://github.com/optim-enterprises-bv/terraform-talos.git
				synced 2025-10-30 17:58:32 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			619 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			619 B
		
	
	
	
		
			HCL
		
	
	
	
	
	
| 
 | |
| data "terraform_remote_state" "prepare" {
 | |
|   backend = "local"
 | |
|   config = {
 | |
|     path = "${path.module}/../prepare/terraform.tfstate"
 | |
|   }
 | |
| }
 | |
| 
 | |
| locals {
 | |
|   subscription_id = data.terraform_remote_state.prepare.outputs.subscription
 | |
|   regions         = data.terraform_remote_state.prepare.outputs.regions
 | |
|   resource_group  = data.terraform_remote_state.prepare.outputs.resource_group
 | |
| }
 | |
| 
 | |
| variable "principal" {
 | |
|   description = "principal id to have RW access the backet"
 | |
|   type        = string
 | |
| }
 | |
| 
 | |
| variable "tags" {
 | |
|   description = "Tags of resources"
 | |
|   type        = map(string)
 | |
|   default = {
 | |
|     environment = "Develop"
 | |
|   }
 | |
| }
 | 
