pltf validate

Validate an Environment or Service spec (auto-detects kind)

Synopsis

Parse a YAML spec, detect Environment vs Service, and run structural validation. Optionally assert that a specific environment key exists in both the environment file and the service envRef (for services). Lint suggestions are run alongside validation.

pltf validate [flags]

Examples

  pltf validate -f env.yaml
  pltf validate -f service.yaml -e dev

Options

  -e, --env string    Environment key to assert exists (dev, prod, etc.)
  -f, --file string   Path to the Environment or Service YAML file (default "env.yaml")
  -h, --help          help for validate

Options inherited from parent commands

      --telemetry   Enable anonymous telemetry (usage metrics). Currently a stub/no-op unless enabled.
  -V, --verbose     Enable verbose logging

SEE ALSO

  • pltf - Platform toolkit for validating and generating Terraform stacks
Auto generated by spf13/cobra on 21-Dec-2025