https://pulumi.com logo
Title
b

bulky-balloon-31221

01/27/2023, 11:03 AM
Hello community Once we import the resources from aws to pulumi stack ( ex ec2) , and if i want to remove it from pulumi in future ( suppose if i dont want to manage that resource under pulumi) how can we do it?
e

echoing-dinner-19531

01/27/2023, 11:26 AM
You can, see https://www.pulumi.com/docs/guides/adopting/import/ about importing existing resources. If you want pulumi to stop tracking a resource you can remove it from your program and delete it from the pulumi state with
pulumi state delete <urn>
see https://www.pulumi.com/docs/reference/cli/pulumi_state_delete/
b

bulky-balloon-31221

01/27/2023, 12:26 PM
Thank you 🙏 i will take a look :)