https://pulumi.com logo
#general
Title
# general
l

late-agency-42012

06/01/2020, 1:20 AM
anyone had success importing an aws vpc?
f

future-barista-68134

06/01/2020, 3:10 PM
Are you having trouble importing a vpc? You should be able to use the
import
parameter in
CustomResourceOptions
like so
Copy code
const vpc = new aws.ec2.Vpc("vpc-name", {
    ...
}, {
    import: "vpc-id"
})