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

ancient-eve-13947

08/16/2021, 5:59 PM
how do I tell pulumi that a resource already exists (because it was created manually before)? I tried
pulumi refresh
and
pulumi up --refresh
, but neither seems to do this. Exact steps: 1. added resource manually 2. updated Pulumi definitions to match 3. run
pulumi refresh
etc. with no success Why do I need this? because the resource in question is one I don't have permissions to create, it was created by someone higher up the food-chain.
b

bored-oyster-3147

08/16/2021, 6:00 PM
you want to import a resource
a

ancient-eve-13947

08/16/2021, 6:15 PM
yes, that works - thank you!
🙌 1
❤️
2 Views