Hi everyone. I am newbie in Pulumi i have a questi...
# general
w
Hi everyone. I am newbie in Pulumi i have a question. Question is that we have data source in terraform to use existing resources in terraform. So what options are available in Pulumi to use existing resource without import ?. Thanks in advanced.
b
you can use a
get
method: https://www.pulumi.com/registry/packages/aws/api-docs/amplify/webhook/#look-up All resources have a lookup function
m
☝️ That’s right! Here are some additional docs and examples on how to do that: https://www.pulumi.com/docs/intro/concepts/resources/get/
w
Last question. how to copy local directory on remote ec2 server while create ec2 ?
b
w
Got it. Thanks @billowy-army-68599and @miniature-musician-31262 for supporting.