Terraform-provider-helm: Resource helm_release doesn't support import

Created on 21 Sep 2018  ·  9Comments  ·  Source: hashicorp/terraform-provider-helm

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

Most helpful comment

All 9 comments

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.

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!

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

shamsalmon picture shamsalmon  ·  34Comments

obeyler picture obeyler  ·  16Comments

rubenv picture rubenv  ·  11Comments

dfry picture dfry  ·  14Comments

eeeschwartz picture eeeschwartz  ·  23Comments