-
Notifications
You must be signed in to change notification settings - Fork 979
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
State is unable to track/update change made by kubectl if the resource is in a module #1136
Comments
Thanks for opening this @khumps. This looks like a bug that was introduced in the upgrade to the new SDK, which deprecated the |
Thank you for this @jrhouston. Is this something that I need to pull from master to use? What is the release cycle like? |
@khumps there should be a release going out today. We try to release every two weeks in general (if it makes sense to) |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Terraform version: 0.14.5
Kubernetes provider version: 2.0.1
Kubernetes version:
Affected Resource(s)
Tested with kubernetes_deployment and kubernetes_ingress that are in a module
Terraform Configuration Files
Module is defined in:
Debug Output
https://gist.github.com/khumps/bf17b0af5c7d965452d3b218593c70cf
Steps to Reproduce
kubectl delete deployment/planetside-tk
terraform plan
Expected Behavior
Plan should acknowledge that the deployment is missing and try to recreate it
Actual Behavior
Plan says it is up to date
Important Factoids
These resources are in a module. If I move them out of the module the plan tries to create it but also delete it (this shouldn't happen since it no longer exists)
Community Note
The text was updated successfully, but these errors were encountered: