Skip to content

Terraform: match_baton_id with already-synced groups and destroy behavior - #623

Draft
pquerna wants to merge 1 commit into
mainfrom
paul.querna/terraform-match-baton-destroy
Draft

pquerna wants to merge 1 commit into
mainfrom
paul.querna/terraform-match-baton-destroy

Conversation

@pquerna

@pquerna pquerna commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates "Merge an IdP group with a C1 group" in developer/terraform.mdx:

  • States that the same configuration works whether or not C1 has already synced the group. If it has, Terraform adopts the existing resource and entitlement and keeps their IDs.
  • Adds "Keep the IdP group's name", showing lifecycle { ignore_changes = [display_name] }.
  • Adds "What terraform destroy does": rows created by Terraform and never synced are deleted; synced rows are removed from Terraform state only, with a warning; already-deleted rows drop from state. Includes the terraform state rm workaround for earlier provider versions.

Before merging

The destroy behavior ships in ConductorOne/terraform-provider-conductorone#274. The text says 1.8.2, which assumes that PR goes out in the next patch release. Merge this after that release, and update the version number if it differs.

…troy behavior

Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
@mintlify

mintlify Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
conductorone 🟢 Ready View Preview Oct 30, 2026, 2:16 PM

This branch was successfully deployed

1 active deployment
staging — 2d51218c Deployed Oct 30, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant