Skip to content

Fix/destroy refresh#565

Merged
allamand merged 2 commits intomainfrom
fix/destroy-refresh
Apr 14, 2026
Merged

Fix/destroy refresh#565
allamand merged 2 commits intomainfrom
fix/destroy-refresh

Conversation

@allamand
Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Data sources (gitlab_user, aws_lb.ingress_nginx) are removed from state
before destroy, but terraform still re-evaluates them from HCL during
the plan phase. This causes 504 errors when the backing infrastructure
(GitLab, nginx ingress) has already been torn down by ArgoCD cleanup.

Adding -refresh=false prevents terraform from trying to read these
already-removed data sources.
Copy link
Copy Markdown
Collaborator

@shapirov103 shapirov103 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@allamand allamand merged commit 9da2a45 into main Apr 14, 2026
6 checks passed
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