This command validates:
• stack-spec.yaml against the schema
• StackKit CUE definitions
• OpenTofu configuration files
stackkit validate [file] [flags]
| الخيار | النوع | الافتراضي | الوصف |
|---|---|---|---|
--all | bool | — | تحقق من كل ملفات الإعداد |
# Validate stack-spec.yaml in the current directory
stackkit validate
# Validate another StackSpec file before replacing stack-spec.yaml with it
stackkit validate candidate-stack-spec.yaml
# Also validate CUE schemas in the working directory
stackkit validate --all
