This is a planned feature in the future, we're internally calling it "recovery mode" (but not sure what we'll call it when it releases).
The basic idea is that you can give it provider credentials and it'll discover resources, or you can tell it a specific resource, and it'll interactively ask you just enough about it to recreate the configuration.
Terraform 0.3 actually laid a lot of the foundation for this, but there is quite a bit more to go. We'll get there sooner rather than later, though.
The basic idea is that you can give it provider credentials and it'll discover resources, or you can tell it a specific resource, and it'll interactively ask you just enough about it to recreate the configuration.
Terraform 0.3 actually laid a lot of the foundation for this, but there is quite a bit more to go. We'll get there sooner rather than later, though.