Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUP-866 Add deletion protection for a pipeline #250

Merged
merged 10 commits into from
Apr 6, 2023

Conversation

mcncl
Copy link
Contributor

@mcncl mcncl commented Apr 6, 2023

This came in as a request from Slack and seems like a reasonable ask given the authority that Terraform can have over an organisation.

Changes

  • Add delete_protection as an option on a pipeline (defaults to false)
  • Add tests around the deletion_protection config
  • Add nice messaging for error when user tries to destroy pipeline with deletion_protection enabled

@mcncl mcncl requested a review from jradtilbrook April 6, 2023 00:48
jradtilbrook
jradtilbrook previously approved these changes Apr 6, 2023
@mcncl mcncl merged commit 958f436 into main Apr 6, 2023
@mcncl mcncl deleted the support_deletion_protection branch April 6, 2023 05:50
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.

2 participants