Skip to content

Conversation

ismailyenigul
Copy link
Contributor

@ismailyenigul ismailyenigul commented Apr 7, 2025

Set AMI type explicitly into user data type to be able to use cloudinit_pre_nodeadm

https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/_user_data/main.tf#L33

Description

Motivation and Context

If I dont set ami_type = "AL2023_x86_64_STANDARD",
cloudinit_pre_nodeadm is not configured for user-data
it is used https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/_user_data/main.tf#L19 and
default ami_type is null in the examples

Breaking Changes

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

Set AMI type explicitly   into user data type to be able to use cloudinit_pre_nodeadm 

https://github.com/terraform-aws-modules/terraform-aws-eks/blob/master/modules/_user_data/main.tf#L33
@ismailyenigul ismailyenigul changed the title set ami_type for AL2023 in the example docs: set ami_type for AL2023 in the example Apr 7, 2025
@ismailyenigul ismailyenigul changed the title docs: set ami_type for AL2023 in the example docs: Set ami_type for AL2023 in the example Apr 7, 2025
@bryantbiggs bryantbiggs merged commit 5c8ac85 into terraform-aws-modules:master Apr 11, 2025
23 of 25 checks passed
@antonbabenko
Copy link
Member

This PR is included in version 20.36.0 🎉

Copy link

I'm going to lock this pull request 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 related to this change, 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 May 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants