- Mark repositories as no longer enrolled by setting the
.concordatflag tofalse:
uv run concordat disenrol path/to/repo-one path/to/repo-two
-
The CLI commits the change to the current branch and accepts the same
--push,--author-name, and--author-emailoptions as the enrol command. -
When an active estate is configured,
concordat disenrolalso opens a pull request against the platform-standards repository to remove the repository slug from the OpenTofu inventory (the default istofu/inventory/repositories.yaml). Merge the pull request before the next OpenTofu apply.
When CONCORDAT_SKIP_PLATFORM_PR=1 is set, the inventory pull request step
is skipped, but the .concordat flag is still updated.
- After removing a repository from the inventory, subsequent
concordat applyruns may fail withprevent_destroybecause the repository module forbids deletions. Concordat offers to remove the affected resources from OpenTofu state (viatofu state rm) and retry the apply, which completes the disenrolment without deleting the repository.