There are specific nasty cases (for AWS in particular, but also for other things) where to do a meaningful import you have to map from the user-facing ID for more things (e.g. if you want route table rules in addition to the route table) - the TF provider protocol has support for this built in which applies to most resources already.
b
big-piano-35669
07/14/2018, 4:42 PM
It does not yet, but I agree with you completely that this is the way to go. cc @microscopic-florist-22719 as I know he has done some thinking here.
s
stocky-spoon-28903
07/14/2018, 4:43 PM
👍 Feel free to throw any concerns/questions about that this way, I either implemented or reviewed the majority of the import logic for Terraform originally.