Skip to content

Fix Nebari Destroy on GCP (deletion_protection=False)#3169

Merged
Adam-D-Lewis merged 2 commits intomainfrom
claude/fix-github-issue-3098-011CUY1fTFwyp7iDYcmgutDj
Oct 30, 2025
Merged

Fix Nebari Destroy on GCP (deletion_protection=False)#3169
Adam-D-Lewis merged 2 commits intomainfrom
claude/fix-github-issue-3098-011CUY1fTFwyp7iDYcmgutDj

Conversation

@Adam-D-Lewis
Copy link
Member

@Adam-D-Lewis Adam-D-Lewis commented Oct 27, 2025

Add deletion_protection = false flag to google_container_cluster resource to allow cluster destruction without requiring a two-step process. This resolves the error that occurs when running 'nebari destroy' on GCP clusters with Google Terraform provider version 5.0.0+.

Fixes #3098

Reference Issues or PRs

What does this implement/fix?

Put a x in the boxes that apply

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds a feature)
  • Breaking change (fix or feature that would cause existing features not to work as expected)
  • Documentation Update
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Other (please describe):

Documentation

  • For new features or enhancements, a corresponding PR has been opened in the documentation repository (if applicable)
    • Link to docs PR:

Testing

  • Did you test the pull request locally?
  • Did you add new tests?

How to test this PR?

Any other comments?

Add deletion_protection = false flag to google_container_cluster
resource to allow cluster destruction without requiring a two-step
process. This resolves the error that occurs when running
'nebari destroy' on GCP clusters with Google Terraform provider
version 5.0.0+.

Fixes #3098

Co-Authored-By: Claude <noreply@anthropic.com>
@Adam-D-Lewis Adam-D-Lewis marked this pull request as ready for review October 27, 2025 16:32
@Adam-D-Lewis Adam-D-Lewis requested a review from a team as a code owner October 27, 2025 16:32
@Adam-D-Lewis Adam-D-Lewis requested review from marcelovilla and viniciusdc and removed request for a team October 27, 2025 16:32
@Adam-D-Lewis Adam-D-Lewis changed the title Investigate GitHub Issue 3098 for Nebari Fix Nebari Destroy on GCP (prevent_destroy=False) Oct 27, 2025
@Adam-D-Lewis Adam-D-Lewis changed the title Fix Nebari Destroy on GCP (prevent_destroy=False) Fix Nebari Destroy on GCP (deletion_protection=False) Oct 27, 2025
@Adam-D-Lewis Adam-D-Lewis merged commit cf6be0d into main Oct 30, 2025
27 checks passed
@Adam-D-Lewis Adam-D-Lewis deleted the claude/fix-github-issue-3098-011CUY1fTFwyp7iDYcmgutDj branch October 30, 2025 13:24
@github-project-automation github-project-automation bot moved this from New 🚦 to Done 💪🏾 in 🪴 Nebari Project Management Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done 💪🏾

Development

Successfully merging this pull request may close these issues.

[BUG] - Nebari destroy fails on GCP cluster with deletion_protection enabled

3 participants