sparse-intern-71089
01/22/2023, 5:01 PMbillowy-army-68599
pulumi refresh
will reconcile the state of your code, the state of your cloud provider and the state of your Pulumi state.
If you added a resource manually and didn't add it to your code and state, it will indeed be removedbillowy-army-68599
square-laptop-45713
01/22/2023, 5:06 PMsquare-laptop-45713
01/22/2023, 5:07 PMpulumi up
to get it back inline. This is what I’ve been doing and how I’ve assumed Pulumi was operating.square-laptop-45713
01/22/2023, 5:09 PMbillowy-army-68599
pulumi import
billowy-army-68599
square-laptop-45713
01/22/2023, 5:10 PMbillowy-army-68599
I just ran it and it seemingly removed a resource that was manually added for troubleshooting purposeswhat resource was it that got removed?
square-laptop-45713
01/22/2023, 5:10 PMsquare-laptop-45713
01/22/2023, 5:11 PMbillowy-army-68599
square-laptop-45713
01/22/2023, 5:12 PMbillowy-army-68599
billowy-army-68599
billowy-army-68599
square-laptop-45713
01/22/2023, 5:14 PMsquare-laptop-45713
01/22/2023, 5:14 PMbillowy-army-68599
square-laptop-45713
01/22/2023, 5:15 PMsquare-laptop-45713
01/22/2023, 5:16 PMsquare-laptop-45713
01/22/2023, 5:25 PMbillowy-army-68599