
# provisioning-config.j2
# Infrastructure configuration for myproject
# Generated by: provctl gen deployment
# Generated at: 2025-11-20

project:
  name: "myproject"
  version: "1.0.0"
  description: ""

infrastructure:
  # Service topology definition
  services:
    - name: "myproject-cli"
      type: "cli"
      enabled: true
      requirements:
        memory_mb: 64
        disk_mb: 50

  # Database backend configurations
  databases:
    default: "sqlite"
    available:
      - type: "sqlite"
        path: "/var/lib/myproject/db.sqlite"
        platforms: [linux, macos, windows]

  # Cache backend configurations
  cache:
    enabled: false

# Deployment presets (for provisioning system integration)
# Preset details are fully defined in the presets.k KCL module
deployment_presets:
  note: "See presets.k for complete preset configurations"

# Resource constraints and validation
constraints:
  min_memory_mb: 64
  min_disk_mb: 50
  supported_platforms:
    - linux
    - macos
    - windows

# Integration points
integrations:
  provctl:
    # provctl can read this config and manage services
    management_enabled: true
  provisioning:
    # provisioning system can extend with terraform/kclang
    extension_enabled: true
