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

feat: Require users to supply OS via ami_type and not via platform which is unable to distinquish between the number of variants supported today #3068

Conversation

bryantbiggs
Copy link
Member

Description

  • Require users to supply OS via ami_type and not via platform which is unable to distinquish between the different variants

Motivation and Context

Breaking Changes

  • No

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

… which is unable to distinquish between the different variants
# TODO - will be removed in v21.0
user_data_type = try(local.ami_type_to_user_data_type[var.ami_type], var.platform)

user_data_type = local.ami_type_to_user_data_type[var.ami_type]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but this change is probably "feat" not "fix".

@bryantbiggs bryantbiggs changed the title fix: Require users to supply OS via ami_type and not via platform which is unable to distinquish between the different variants feat: Require users to supply OS via ami_type and not via platform which is unable to distinquish between the number of variants supported today Jun 13, 2024
@bryantbiggs bryantbiggs merged commit ef657bf into terraform-aws-modules:master Jun 13, 2024
18 checks passed
@bryantbiggs bryantbiggs deleted the fix/self-managed-needs-ami-type branch June 13, 2024 11:50
antonbabenko pushed a commit that referenced this pull request Jun 13, 2024
## [20.14.0](v20.13.1...v20.14.0) (2024-06-13)

### Features

* Require users to supply OS via `ami_type` and not via `platform` which is unable to distinquish between the number of variants supported today ([#3068](#3068)) ([ef657bf](ef657bf))
@antonbabenko
Copy link
Member

This PR is included in version 20.14.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Self-Managed Node Groups Not Joining EKS Cluster (CoreDNS 'DEGRADE' Error)
2 participants