Hi just want to re-surface this request https://github.com/hashicorp/terraform/issues/4728
The last admin post was about 3 years ago, wonder if there has been any ETA of this feature?
(seems like not something super complicated, just need to enumerate things on AWS and then apply import? I feel that an incomplete import would also be very valuable, not all resources, just those with terraform import support.)
Thanks!
+1
Found this issue while looking for a similar solution. I think it would be great (and even increase terraform mindshare, sort of working as an infrastructure linter).
At the very least, having a command to list unmanaged resources so that they can be imported manually would be a huge win.
Automatic import is likely a very large thing to implement and hope that it is possible some day, but in the meantime, I strongly agree that being able to simply get a list of resource ARNs that ARE NOT managed by terraform in an account would be a great start, since this could then be feed into other tools for deletion or importation.
Most helpful comment
At the very least, having a command to list unmanaged resources so that they can be imported manually would be a huge win.