https://pulumi.com logo
n

nice-father-44210

10/31/2021, 1:16 PM
I’d like to import an existing
ec2.RouteTable
(that has existing routes) but I want to manage the
ec2.Route
resources in a standalone manner (as opposed to in-line). What’s the right way to accomplish this? Should it work if construct the
RouteTable
object with
ResourceOptions(import_ = "rtb-xxx")
while omitting the
routes
parameter?
I tested the above and it seems to work well. I can import standalone
Route
resources afterward.