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

handsome-cat-98152

12/06/2019, 9:34 AM
Is there a way to modifiy
imported
Ressources? When I try to, it ends up looking like the screenshot and it's driving me nuts
b

broad-dog-22463

12/06/2019, 9:51 AM
Import the resource first and then make the modification in a new step
h

handsome-cat-98152

12/09/2019, 8:45 AM
Hello @broad-dog-22463, thank you very much for the answer. I am sorry for answering so late, but grateful that you took the time to help me. Can this new step happen in the same
pulumi up
command? Or do I have to 1.) Include the import option 2.) pulumi up 3.) remove the import option and modify ressource 4.) pulumi up again
b

broad-dog-22463

12/09/2019, 9:16 AM
It’s that flow of 4 steps I’m afraid - without that flow, Pulumi isn’t actually sure you are meaning to make the changes to the imported resource
Think of it as a safety measure that Pulumi doesn’t destroy your resource while you are importing it
h

handsome-cat-98152

12/09/2019, 10:52 AM
This will be very helpful. Thank you for sharing these insights 🙂