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

wide-judge-30323

03/20/2019, 3:38 AM
Hi All. I'm migrating existing AWS infra to pulumi, and need to replace parts gradually. Is there a way get an Instance of some resource that already exists outside Pulumi? e.g. I want to create an
aws.sns.TopicSubscription
to a topic that already exists, but the topic param must be a
pulumi.Input<Topic>
- so I need an instance of
Topic
first.
new aws.sns.Topic(...)
will try create a new topic with a unique name, which is not what I need.