-
Notifications
You must be signed in to change notification settings - Fork 374
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
helm cannot find remote module after terraform destroy when using previous terraform state #662
Comments
Ran into the same issue. Temporary workaround that works for me is downgrading to 1.3.2 as 2.0.0 is also affected:
|
I have the same problem, we have a couple of charts installed with the helm provider. I was forced to revert to v1.3.2 again. |
In our case downgrading did not work. We had to remove helm release from tfstate file and terraform happily recreated the release. This is a dangerous operation as it may break your terraform state. We did it on a dev env with no impact. |
the same is happens for me. |
#674 should fix this |
Then we just patiently wait for this to get out 👍 |
Marking this issue as stale due to inactivity. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. This helps our maintainers find and focus on the active issues. Maintainers may also remove the stale label at their discretion. Thank you! |
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. |
Steps to Reproduce
I created a pipeline in GitLab with terraform modules which use the providers azurerm, kubernetes and helm. The modules are located in remote GitLab projects and are being imported via git:
If the pipeline starts with a fresh or empty state, the provider is able to import the module as expected. When I run the "terraform destroy" stage in my pipeline and want to restart the pipeline afterwards so that the environment is being set up again, the helm provider complains that the helm releases I would like to install do not exists:
All the the other providers (azurerm and kubernetes) are able to reuse the terraform state and redeploy their resources. The only way to fix this issue for the helm provider is to delete the state.
If I use a local modules repository instead of a remote modules repository this issue doe snot occur!
Community Note
The text was updated successfully, but these errors were encountered: