Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

Chef_node import missing #8

Open
hashibot opened this issue Jun 13, 2017 · 3 comments · May be fixed by #34
Open

Chef_node import missing #8

hashibot opened this issue Jun 13, 2017 · 3 comments · May be fixed by #34

Comments

@hashibot
Copy link

This issue was originally opened by @apetitbois as hashicorp/terraform#13813. It was migrated here as part of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.9.4-dev

Affected Resource(s)

chef_node

Expected Behavior

I'd like to be able to manage chef_node after an import

Actual Behavior

Import is currently not supported

Steps to Reproduce

terraform import chef_node.test testnode
Error importing: 1 error(s) occurred:

  • chef_node.test (import id: testnode): import chef_node.test (id: testnode): resource chef_node doesn't support import

Code to implement:

terraform/builtin/chef/resource_node.go
after line 17 add :

Importer: &schema.ResourceImporter{
           State: schema.ImportStatePassthrough,
       },
@fishpen0
Copy link

Looks like the PR for this never got migrated hashicorp/terraform#13815.

@jjasghar
Copy link

@fishpen0 good catch. If you want to put the PR in to move it over that would be awesome, otherwise, I'll make it happen "soon."

@f0rkz
Copy link

f0rkz commented Jun 19, 2019

🔜 ™️

terricain added a commit to terricain/terraform-provider-chef that referenced this issue Apr 23, 2020
terricain added a commit to terricain/terraform-provider-chef that referenced this issue Apr 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants