name = "environment_fragment"

[[elements]]
border_bottom = true
border_top = true
name = "environment_header"
title = "🏗️  Environment Identification"
type = "section_header"

[[elements]]
help = "Lowercase letters, numbers, dashes. Cannot start with number or dash. Examples: dev, staging, e2e-config"
name = "environment_name"
nickel_path = ["environment", "name"]
placeholder = "dev, staging, production, e2e-test"
prompt = "Environment name"
required = true
type = "text"

[[elements]]
help = "1-63 chars, ASCII letters/numbers/dashes, no leading digit/dash, no trailing dash. Will be auto-generated if omitted."
name = "instance_name"
nickel_path = ["environment", "instance_name"]
placeholder = "Leave empty for auto-generation: torrust-tracker-vm-{env-name}"
prompt = "Instance/VM name (optional)"
type = "text"
