# Auto-generated form for setup wizard # Generated: {{ now_iso }} # This is a comprehensive 7-step setup wizard [meta] title = "Provisioning System Setup Wizard" description = "Step-by-step configuration for your infrastructure provisioning system" allow_cancel = true # ============================================================================ # STEP 1: SYSTEM CONFIGURATION # ============================================================================ [items.step1_header] type = "text" prompt = "STEP 1/7: System Configuration" display_only = true [items.config_path] type = "text" prompt = "Configuration Base Path" default = "{{ config_path | default('/etc/provisioning') }}" help = "Where provisioning configuration will be stored" required = true [items.use_defaults_path] type = "confirm" prompt = "Use recommended paths for your OS?" help = "Use OS-specific default paths (recommended)" # ============================================================================ # STEP 2: DEPLOYMENT MODE # ============================================================================ [items.step2_header] type = "text" prompt = "STEP 2/7: Deployment Mode Selection" display_only = true [items.deployment_mode] type = "select" prompt = "How should platform services be deployed?" options = ["docker-compose", "kubernetes", "systemd", "remote-ssh"] default = "{{ deployment_mode | default('docker-compose') }}" help = "Choose based on your infrastructure type" required = true # ============================================================================ # STEP 3: PROVIDER SELECTION # ============================================================================ [items.step3_header] type = "text" prompt = "STEP 3/7: Infrastructure Providers" display_only = true [items.provider_upcloud] type = "confirm" prompt = "Use UpCloud as provider?" help = "UpCloud offers affordable cloud VMs in European regions" [items.provider_aws] type = "confirm" prompt = "Use AWS as provider?" help = "Amazon Web Services - global infrastructure" [items.provider_hetzner] type = "confirm" prompt = "Use Hetzner as provider?" help = "Hetzner - German cloud provider with good pricing" [items.provider_local] type = "confirm" prompt = "Use Local provider?" help = "Local deployment - useful for development and testing" # ============================================================================ # STEP 4: RESOURCE ALLOCATION # ============================================================================ [items.step4_header] type = "text" prompt = "STEP 4/7: Resource Allocation" display_only = true [items.cpu_count] type = "text" prompt = "Number of CPUs to allocate" default = "{{ cpu_count | default('4') }}" help = "For cloud VMs (1-16, or more for dedicated hardware)" required = true [items.memory_gb] type = "text" prompt = "Memory in GB to allocate" default = "{{ memory_gb | default('8') }}" help = "RAM for provisioning system and services" required = true [items.disk_gb] type = "text" prompt = "Disk space in GB" default = "{{ disk_gb | default('100') }}" help = "Primary disk size for VMs or containers" required = true # ============================================================================ # STEP 5: SECURITY CONFIGURATION # ============================================================================ [items.step5_header] type = "text" prompt = "STEP 5/7: Security Configuration" display_only = true [items.enable_mfa] type = "confirm" prompt = "Enable Multi-Factor Authentication (MFA)?" help = "Requires TOTP or WebAuthn for sensitive operations" [items.enable_audit_logging] type = "confirm" prompt = "Enable audit logging?" help = "Log all operations for compliance and debugging" [items.require_approval] type = "confirm" prompt = "Require approval for destructive operations?" help = "Prevents accidental deletion or modification" [items.enable_tls] type = "confirm" prompt = "Enable TLS encryption?" help = "Use HTTPS for all API communications" # ============================================================================ # STEP 6: WORKSPACE CONFIGURATION # ============================================================================ [items.step6_header] type = "text" prompt = "STEP 6/7: Workspace Setup" display_only = true [items.create_workspace] type = "confirm" prompt = "Create initial workspace now?" help = "Create a workspace for managing your infrastructure" [items.workspace_name] type = "text" prompt = "Workspace name" default = "{{ workspace_name | default('default') }}" help = "Name for your infrastructure workspace" [items.workspace_description] type = "text" prompt = "Workspace description (optional)" default = "{{ workspace_description | default('') }}" help = "Brief description of what this workspace manages" # ============================================================================ # STEP 7: REVIEW & CONFIRM # ============================================================================ [items.step7_header] type = "text" prompt = "STEP 7/7: Review Configuration" display_only = true [items.review_config] type = "confirm" prompt = "Review the configuration summary above and confirm?" help = "Verify all settings before applying" required = true [items.final_confirm] type = "confirm" prompt = "I understand this is a major configuration change. Proceed?" help = "This will create/update system configuration files"