Skip to content

Commit

Permalink
add doc Specify remote schemas in atmos.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
haitham911 committed Oct 21, 2024
1 parent bedece4 commit 34a7079
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion website/docs/core-concepts/validate/json-schema.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,17 @@ schemas:
In the component [manifest](https://github.com/cloudposse/atmos/blob/master/examples/quick-start-advanced/stacks/catalog/vpc/defaults.yaml), add
the `settings.validation` section:

### Specify Remote Schemas
specify remote schemas by setting the `manifest` field to a remote URL.
<File title="atmos.yaml">
```yaml
# Validation schemas (for validating atmos stacks and components)
schemas:
atmos:
# You can specify a remote schema URL as well
manifest: "https://example.com/path/to/remote/atmos-manifest.json"
```
</File>
<EmbedFile filePath="examples/quick-start-advanced/stacks/catalog/vpc/defaults.yaml"/>

Add the following JSON Schema in the
Expand Down

0 comments on commit 34a7079

Please sign in to comment.