Skip to content

New Terraform objects in drift-detection-only mode hang in Initializing status  #1371

Open
@hirenko-v

Description

@hirenko-v

It seems like new objects reconciliation are skipping any actions by design, so I am wondering how we could deploy new objects just in drift-detection mode.

https://github.com/flux-iac/tofu-controller/blob/main/controllers/tf_controller_drift_detect.go#L29-L33

I've done some tests and with the change introduced in the PR things going well.
If it works for the community we could merge it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions