generated from hashicorp/terraform-provider-scaffolding-framework
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
We are using TF files with features and segment overrides as our Single Source of Truth, managed in GitHub, while allowing users to change segments via the Dashboard for experimentation.
We’ve noticed that when segment overrides are added manually through the UI, running Terraform does not remove them, even though the .tf file should act as the SSOT.
For example:
- We apply a Terraform file in production containing [seg1] and [seg2].
- We then manually add [seg3] via the UI for experimentation.
- When we re-run the original Terraform file to reset the environment, [seg1] and [seg2] are synced with any changes in the .tf files but [seg3] remains instead of being removed.
Currently, we are deleting all segments via the Flagsmith API before applying the Terraform files, but this process is quite risky.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels