variable "subscription_id" { description = "Subscription the state account goes in. The provider has required it since version 4." type = string } variable "name" { description = "Base name. The storage account name is built from it plus a random suffix." type = string default = "tfstate" } variable "location" { description = "Azure region." type = string default = "eastus" } variable "allowed_ip_ranges" { description = "Public addresses allowed to reach the account. Everything else is refused, including your laptop, so add yourself here or run from inside the network." type = list(string) default = [] } variable "state_writers" { description = "Object IDs of the people and pipelines that run Terraform against this backend. Whoever applies this folder is added automatically." type = list(string) default = [] } variable "keep_deleted_days" { description = "How long a deleted or overwritten state file can still be recovered." type = number default = 30 } variable "log_retention_days" { description = "How long the workspace keeps the record of who read or wrote state." type = number default = 90 } variable "owner" { description = "Tag contract: accountable team." type = string default = "platform-engineering" } variable "environment" { description = "Tag contract: environment." type = string default = "prod" } variable "extra_tags" { description = "Additional tags merged over the contract." type = map(string) default = {} }