hashicorp / packer-plugin-amazon

Packer plugin for Amazon AMI Builder

Home Page:https://www.packer.io/docs/builders/amazon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[documentation] virtual_name for Block Device Mapping

hegyre opened this issue · 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 ?

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.

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.