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

Allow drift detection for new objects in drift-detection mode #1370

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hirenko-v
Copy link

@hirenko-v hirenko-v commented Jul 2, 2024

This PR fixes the issue for new objects created in drift-detection-only mode.
Current logic leaves Terraform CRD in Initializing status if it is created in drift detection mode.

A workaround requires manual intervention by setting approvePlan to something but not disable

PR fixes #1371

den-vasyliev added a commit to den-vasyliev/tofu-controller that referenced this pull request Aug 1, 2024
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.

New Terraform objects in drift-detection-only mode hang in Initializing status
1 participant