Add optional var.block_device_mappings.device_name variable to override the default /dev/sda1 value in the nodepool launch template.
Also change block_device_mappings type in variables.tf to match modules/nodepool/variables.tf and modules/agent-nodepool/variables.tf and allow for optional parameters.
Add optional
var.block_device_mappings.device_name
variable to override the default/dev/sda1
value in the nodepool launch template.Also change
block_device_mappings
type invariables.tf
to matchmodules/nodepool/variables.tf
andmodules/agent-nodepool/variables.tf
and allow for optional parameters.