Despite the docs at https://github.com/mcuadros/terraform-provider-helm/blob/master/docs/release.md#import saying you can import, I get an error message:
terraform import module.sqlproxy-pg.helm_release.this pg-sqlproxy
module.sqlproxy-pg.helm_release.this: Importing from ID "pg-sqlproxy"...
Error: module.sqlproxy-pg.helm_release.this (import id: pg-sqlproxy): import module.sqlproxy-pg.helm_release.this (id: pg-sqlproxy): resource helm_release doesn't support import
From what I can tell, helm does not provide a way to retrieve the source repository that installed a release, and the repository schema is currently set to ForceNew: true (https://github.com/mcuadros/terraform-provider-helm/blob/master/helm/resource_release.go#L48). So importing currently does not really seem possible without some changes to the terraform schema, at a minimum, or by manually editing the state file.
Should these issues be moved over to https://github.com/terraform-providers/terraform-provider-helm?
Already moved, @colinhoglund ;-)
We wait for a release...
How is the status regarding the import of resources with the provider 1.0.0 release?
This would be an awesome feature with the 1.0.0 release!
Hi guys! You can track the progress here: https://github.com/terraform-providers/terraform-provider-helm/pull/394
Fixed by #394
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 👉 [email protected]. Thanks!
Most helpful comment
Hi guys! You can track the progress here: https://github.com/terraform-providers/terraform-provider-helm/pull/394