Attaches a block storage disk to a running or stopped Lightsail instance and exposes it to the instance with the specified disk name.
lightsail_attach_disk(diskName, instanceName, diskPath)
[required] The unique Lightsail disk name (e.g., my-disk
).
[required] The name of the Lightsail instance where you want to utilize the storage disk.
[required] The disk path to expose to the instance (e.g., /dev/xvdf
).
svc$attach_disk( diskName = "string", instanceName = "string", diskPath = "string" )
The attach disk
operation supports tag-based access control via
resource tags applied to the resource identified by diskName. For more
information, see the Lightsail Dev Guide.