https://pulumi.com logo
Title
g

glamorous-vase-18727

05/06/2021, 12:42 PM
Hi everyone, would it be a valid Pulumi scenario to resize an existing Amazon EBS volume that was not created as part of Pulumi stack? It was created for an EC2 instance that use an Image from the Marketplace, volumes were provisioned automatically there and they are too small. Overall EC2 instance setup is managed by Pulumi though. Any suggestions welcomed :)
l

little-cartoon-10569

05/06/2021, 9:07 PM
You can import the resource first, then modify it.
g

glamorous-vase-18727

05/07/2021, 8:53 AM
Thanks for your suggestion. I’ll try to work it out then. Do you know if the following doc may be relevant? https://www.pulumi.com/docs/guides/adopting/import/
l

little-cartoon-10569

05/09/2021, 9:30 PM
Yes, that's one of the two ways to import resources.