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

lastCompletedGeneration is always 0 #123

Open
oskar-s9s opened this issue Nov 10, 2022 · 1 comment
Open

lastCompletedGeneration is always 0 #123

oskar-s9s opened this issue Nov 10, 2022 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@oskar-s9s
Copy link

https://github.com/isaaguilar/terraform-operator/blob/050359562e483474fbd031d9cf758154c68b872b/pkg/controllers/terraform_controller.go#L541

lastCompletedGeneration is status is always 0 for me
I would expect it to be "9" in this particular case.

status:
  lastCompletedGeneration: 0
  outputs:
    instance_ip_addr: |-
      {
XXXXXXXXXXXXXX
      }
  phase: completed
  podNamePrefix: oskarrro-testo-ko7txe2x
  stage:
    generation: 9
    interruptible: true
    podType: ""
    reason: COMPLETED_APPLY
    startTime: "2022-11-10T20:58:19Z"
    state: complete
    stopTime: "2022-11-10T20:58:19Z"
  stages: []
@isaaguilar
Copy link
Collaborator

Thanks, I'll increment the status on successful workflow executions. I didn't find that field very useful, but it should be a trivial fix.

@isaaguilar isaaguilar added the bug Something isn't working label Nov 12, 2022
@isaaguilar isaaguilar added the good first issue Good for newcomers label Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants