Closed jmandel1027 closed 8 months ago
Hi @jmandel1027 thanks for raising this 👍
We actually do have support for this through a provider config option archive_pipeline_on_delete
. Setting this to true will archive the pipeline when its destroyed in terraform instead of deleting it
What
We need to add support for archiving buildkite pipelines via
buildkite_pipeline
terraform provider.Why
We have a IAC tool that our devs at Block are using to manage Buildkite Pipelines as yaml / TF, and devs are occasionally going through the Buildkite UI to
archive
pipelines which will break their shard of TF state. If we have the ability to Archive via TF provider then we can safely allow teams to archive things instead of a wholesale deletion from our gitops tool for pipeline configs.