====== Terraform snippets ====== ===== Setting Variables ===== variable "prod_tunnel" { default = "true" } #AWS TAGS locals { common_tags = { constructby = "Terraform" cost. = "AC2345" email = "support@example.com" environment = "production" } } ===== Using Variables ===== split_tunnel = "${prod_tunnel}" tags = merge(local.common_tags, { Name = "Endpoint-Prod" })