packer-plugin-amazon icon indicating copy to clipboard operation
packer-plugin-amazon copied to clipboard

[documentation] virtual_name for Block Device Mapping

Open hegyre opened this issue 1 year ago • 2 comments

Hello!

On the current doc for EBS builder, we can find this:

virtual_name (string) - The virtual device name. See the documentation on Block Device Mapping for more information.

There's no link at all as it's usually done for other parameters when referring to another part in the documentation. Besides that, I was not able to find the relevant documentation. Did I missed something ?

hegyre avatar Feb 15 '24 13:02 hegyre

Hi @hegyre,

The Block Device Mapping being referenced here is likely referring to the AWS docs on device mapping.

From what I gather, virtual_name is only for instance-based (ephemeral) volumes, any EBS-backed volume will have a snapshot-ID to back it.

The doc for the option isn't super clear though, I'll see to improve that soon, thanks for the pointer.

lbajolet-hashicorp avatar Feb 19 '24 16:02 lbajolet-hashicorp

Ah ok fine then I don't use ephemerals. Yeah you can just update the docs with what you just wrote in your comment it's more clear.

hegyre avatar Feb 21 '24 00:02 hegyre