
We have several k8s stacks which created by kubespray use AWS, now we want to import them to terraform. I tried both official `terraform import` and `terraforming`, seems they both have issues. For `terraform import`, it not easy to import so many resources, it only can use to import resource one by one, and before import we must to create an empty tf file(it's really not good to use).
Thank you for your reply, I means when I use `terraform import`, I must create the import tf file first. When I use `terraforming <resource>`, it was very easy to export aws resource to tf files and tfstate files, but these tf files and tfstate files seems can not be used by `terrform` directly, it has some parse issues(the attachment screen shot).

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/2786052f-1bef-42ae-8cdc-b738fa37088e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
.png?part=0.1&view=1)
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/1c5fff6a-e954-4503-848e-9c6640343fbd%40googlegroups.com.
It may be that my bad English expression makes me unable to clearly describe my problem. I think I really know how to use `terraform import` to import the resources from aws, but just like the following screenshot from the docs, I really don't think this is a good way to import resources, it is not easy and it is not powerful. I want to know if there is a easier way to import resources without any manual work until we want modify it -- iterating on the configuration is painful. If we must do this to import the resources, seems we create the resources by terraform directly is better?
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAHa53uxp1ROkQLtwqEFy9CND5cuzWYPsdo-dbqcphKN3U3w%2BqA%40mail.gmail.com.