Flagsmith / terraform-provider-flagsmith

Flagsmith Terraform Provider
Mozilla Public License 2.0
5 stars 2 forks source link

Implement data sources to reference externally managed resources #153

Open chris-richmond opened 1 month ago

chris-richmond commented 1 month ago

The provider is currently designed with a single tfstate file in mind. This limits the deployment strategy options.

I'm working in a multi-environment, cross-team setup. We would like to reference features that have been created outside of Terraform. Each stage of our pipeline would manage environment specific "flagsmith_feature_state" overrides. These overrides need to reference "flagsmith_feature" data sources. There could be a need to reference "flagsmith_segment" data sources as well.

Ideal Outcome

Data Sources created for:

khvn26 commented 1 month ago

Hello @chris-richmond, thanks for reporting! It's obvious to expect these data sources implemented in our Terraform provider. We'll triage this task and see how it fits into our backlog; in the meantime we'll happily review and merge any PR solving this that comes our way.