hashicorp / packer-plugin-amazon

Packer plugin for Amazon AMI Builder
https://www.packer.io/docs/builders/amazon
Mozilla Public License 2.0
72 stars 110 forks source link

[documentation] virtual_name for Block Device Mapping #459

Closed hegyre closed 3 months ago

hegyre commented 7 months ago

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 ?

lbajolet-hashicorp commented 7 months ago

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.

hegyre commented 7 months ago

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.