flux-iac / tofu-controller

A GitOps OpenTofu and Terraform controller for Flux
https://flux-iac.github.io/tofu-controller/
Apache License 2.0
1.3k stars 137 forks source link

Add a way to replace/taint resources #501

Open gberche-orange opened 1 year ago

gberche-orange commented 1 year ago

Suggested feature

As a tf-controller user in order to ask tf-controller to recreate a single resource tracked in the tfstate file I need a way to trigger an equivalent of terraform taint or terraform plan --replace

Typically a new metadata.annotation or a spec field holding

chanwit commented 1 year ago

Thank you @gberche-orange This is a very interesting enhancement. Let's discuss!