bright-scientist-61638
07/27/2021, 11:24 AMInstance
, Volume
and VolumeAttachment
to do this.
I'm now trying to figure out how to init the volume and mount it within the instance. I'm doing this via instance user data.
However, when I make changes to userData
and re-run pulumi up
I get this error
* Error attaching volume (vol-0170f920a526fb90d) to instance (i-003ab040459a35189), message: "vol-0170f920a526fb90d is already attached to an instance", code: "VolumeInUse"
I think this isn't working because the volume is still attached to the old instance. Can pulumi handle detaching the volume?little-cartoon-10569
07/27/2021, 9:42 PM