Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node_groups/launch_template.tf needs to be more flexible on the device_name within block_device_mappings section #1714

Closed
kongdewen opened this issue Dec 8, 2021 · 2 comments

Comments

@kongdewen
Copy link
Contributor

Description

First, thank you so much to enable custom AMI image in the node_groups launch templates. But it also can cause a problem when custom AMI image root volume name isn't /dev/xvda as hardcoded in https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/node_groups/launch_template.tf#L41. it will cause consumers can't setup correct root devices block_device_mappings when we launch the EC2 instance.

Reproduction

To reproduce the issue, we can launch an custom AMI image with root device name differ than /dev/xvda

Expected behavior

we should be able to setup the ami root device name based on the AMI image itself

Actual behavior

the root device name is fixed to /dev/xvda

@bryantbiggs
Copy link
Member

closed with #1680

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants