terraform-provider-rancher icon indicating copy to clipboard operation
terraform-provider-rancher copied to clipboard

Document importability in terraform docs

Open blaggacao opened this issue 8 years ago • 2 comments

Affected Resource(s)

  • rancher_*

I'm a latecomer in the terraform ecosystem. I wonder, without having done a deep dive if it would be as simple as just implementin those lines: https://github.com/terraform-providers/terraform-provider-fastly/blob/2dc6f92829de934b54ba7bdcf7f4f7a7aae6a9a2/fastly/resource_fastly_service_v1.go#L24-L26

Docs on resource importer: https://github.com/hashicorp/terraform/blob/351c6bed79abbb40e461d3f7d49fe4cf20bced41/helper/schema/resource_importer.go

If would be really nice to have that feature. I'm unfortunately not really firm in go programming, else I'd have already done a PR.

blaggacao avatar Oct 22 '17 02:10 blaggacao

Sorry, something is strange, maybe docs are not up to date? As I see quite some kinds of importers around... https://www.terraform.io/docs/import/importability.html

blaggacao avatar Oct 22 '17 02:10 blaggacao

Most rancher resources support importing. I was not aware of that central page for importability, so it's more of a documentation issue like @mcanevet tagged it.

raphink avatar Oct 22 '17 15:10 raphink