https://pulumi.com logo
Title
c

creamy-monkey-35142

01/31/2023, 9:29 AM
Hi there, another question today. is Pulumi support to detect resources which create manually by user and not managed by Pulumi?
e

echoing-dinner-19531

01/31/2023, 9:33 AM
We can't detect that automatically, but most resources should support
get
methods which is a way to tell Pulumi that a resource exists and can be used, but that pulumi shouldn't manage it. e.g for ec2 instances: https://www.pulumi.com/registry/packages/aws/api-docs/ec2/instance/#look-up
c

creamy-monkey-35142

01/31/2023, 10:35 AM
that’s good approach, I’ll follow method
get
to see it can help or not