README.md1002 B
View on GitHubExample: Demo Schemas
Validate stack configuration against JSON Schema before running Terraform.
Learn more about Validation.
What You'll See
- Schema from file - local JSON Schema
- Schema from internet - fetch from URL (schemastore.org)
- Inline schema - embedded in atmos.yaml
Try It
cd examples/demo-schemas
# Validate all matched files
atmos validate stacks
# See schema configuration
cat atmos.yaml
Key Files
| File | Purpose |
|---|---|
atmos.yaml | Schema definitions with three source types |
manifest.json | Local JSON Schema file |
config.yaml | Validated against local schema |
bower.yaml | Validated against remote schema |
inline.yaml | Validated against inline schema |