Skip to content

import

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

Terminal window
agoraform import ADDRESS REMOTE-ID
agoraform import -f path/to/agoraform.yaml ADDRESS REMOTE-ID

Reads one existing remote object, prints configurable YAML, and persists identity. Does not mutate Matomo or rewrite the manifest.

Terminal window
agoraform import matomo.goal.trial_started 12
agoraform import matomo.variable.user_id VARIABLE_ID
agoraform import matomo.trigger.trial_started TRIGGER_ID
agoraform import matomo.tag.trial_started TAG_ID

Import variables and triggers before a tag so $refs can be reconstructed.

Exit 0 success, 1 failure, 3 invalid invocation.