# Generated by tools/hardened.py from ../t1. Edit t1 or the script; this file is regenerated. variable "project_id" { description = "Project containing the subnets and the log bucket." type = string } variable "subnets" { description = "Subnets to record, as name = region. The template prints the command that switches each one on." type = map(string) default = {} } variable "retention_days" { description = "How long flow records are kept." type = number default = 400 } variable "sampling" { description = "Share of flows recorded, from 0.0 to 1.0. More costs more, and misses less." type = number default = 0.5 validation { condition = var.sampling > 0 && var.sampling <= 1 error_message = "sampling is a share between 0 and 1." } } variable "bigquery_dataset" { description = "Name for a linked BigQuery dataset, so the records can be queried from BigQuery and joined with other tables. Leave empty to skip." type = string default = "vpc_flow_logs" } variable "owner" { description = "Label contract: accountable team. Lowercase, because labels must be." type = string default = "security-engineering" } variable "environment" { description = "Label contract: environment." type = string default = "prod" } variable "extra_labels" { description = "Additional labels merged over the contract." type = map(string) default = {} }