Closed mestuddtc closed 2 years ago
This is weird I never have any issue, with the CRDs, this module is tested with Terragrunt, I do not have any example with Terraform. Could you try to put manage_crds
to false in kong and kube-prometheus-stack to see if the plan pass at least
Definitely weird, especially because it was working with the CRDs earlier.
manage_crds = false
allows the deployment to succeed. It appears the CRDs are still installed? That was not what I expected.
@mestuddtc CRDs are still installed by the charts, it is just that Helm does not manage the CRDs lifecycle, meaning when you helm upgrade to a new major version that might need new CRDs (like with kube-prometheus-stack CRDs) the CRDs are not upgraded by default.
Having them managed via TF allow to upgrade them without having to do it manually. The repo I use for testing is this one
Also can you try an apply
and not a plan
to see if you get the same error ? Or is it just with plan ?
apply
has the same errors as plan
.
Interestingly, if I apply with manage_crds = false
, then set manage_crds = true
, apply works. So it seems to only have issue with the initial run?
@mestuddtc is this issue still happening ?
I gave up on trying to use this project. But yes, I get the exact same error with 4.0.0.
Closing as this does not seems relevant anymore and depends a lot of Terragrunt/Terraform version used. Please reopen if needed
Describe the bug
Cannot deploy addons to EKS cluster: terraform says it could not create a plan.
What is the current behavior?
How to reproduce? Please include a code sample if relevant.
Terraform file:
What's the expected behavior?
Terraform plans and deploys everything as configured.
Environment details
Any other relevant info
This is being run from the community.general.terraform ansible module. It has worked -- yesterday it did, but then did not an hour later and has not since. I am 99% certain no changes were made, as I was working on things further down the playbook. The backend configuration is being passed in via ansible, and the whole terraform directory and backend state were deleted each time the EKS was destroyed to start over.