Skip to content

Terraform replan timed out while waiting for condition #4008

Open
@eloo-abi

Description

Describe the bug

Doing a terraform replan i get the whole time a timeout.
timed out waiting for the condition

When i check the terraform k8s object i see the replan is triggered but i never get the result in my cli.

Environment

  • Weave-Gitops Version
  • Flux Version
  • Kubernetes version

To Reproduce
Steps to reproduce the behavior:

  1. gitops replan terraform tf-resource
  2. Get this error Error: timed out waiting for the condition

Expected behavior

I would expect to get the plan output in the console instead of an error.

Actual Behavior

$ gitops replan terraform jowe-tf-controller-test  
 Replan requested for flux-system/jowe-tf-controller-test
Error: timed out waiting for the condition

Additional Context (screenshots, logs, etc)

Here we can see that the replan is triggered

jowe-tf-controller-test   True      No drift: main@sha1:d77ffe193f67dfe74f93205d4aea5187b00c89ce   4h46m
jowe-tf-controller-test   False     Replan requested                                               4h46m
jowe-tf-controller-test   False     Replan requested                                               4h46m
jowe-tf-controller-test   Unknown   Reconciliation in progress                                     4h46m
jowe-tf-controller-test   Unknown   Initializing                                                   4h47m
jowe-tf-controller-test   Unknown   Terraform Planning                                             4h47m
jowe-tf-controller-test   True      Plan no changes: main@sha1:d77ffe193f67dfe74f93205d4aea5187b00c89ce   4h47m

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions