validate
This content is for v0.2.1. Switch to the latest version for up-to-date documentation.
agoraform validateagoraform validate -f path/to/manifest.yamlagoraform validate path/to/manifest.yamlLoads the manifest and checks apiVersion: agoraform.io/v1alpha1, addresses, duplicates, $refs, cycles, Matomo connectivity, and resource fields. It may contact Matomo. It does not mutate.
Specify a manifest as an argument or with --file, not both.
| Flag | Description |
|---|---|
-f, --file | Path to the manifest (default agoraform.yaml) |
Requires MATOMO_URL, MATOMO_TOKEN_AUTH, and MATOMO_SITE_ID. Tag Manager work also requires MATOMO_CONTAINER_ID.
Exit 0 success, 1 failure, 3 invalid usage.