Skip to content

validate

This content is for v0.2.1. Switch to the latest version for up-to-date documentation.

Terminal window
agoraform validate
agoraform validate -f path/to/manifest.yaml
agoraform validate path/to/manifest.yaml

Loads 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.

FlagDescription
-f, --filePath 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.