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

fix: Set image_id to come from the launch template instead of data source for self-managed node groups #2239

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

bushong1
Copy link
Contributor

Description

Fixes issue #2235 ; configure the output of image id to be the real output of the launch_template

Motivation and Context

#2235

Breaking Changes

If a user provided a custom ami_id and relied on the broken information this submodule was returning, they could see a change in behavior as the output corrects itself.

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
    • examples/self_managed_node_group
    • Run: terraform output -json | jq .self_managed_node_groups.value.bottlerocket.image_id
      • Value before change: ami-0f2b7c6874eb8414f (The default AMI, despite being overridden in the config)
      • Value after change: ami-04958b57e72e69fb0 (The actual bottlerocket ami id)
  • I have executed pre-commit run -a on my pull request

@bushong1 bushong1 changed the title Fix #2235 - Set output.image_id to be the real output of the launch t… fix: #2235 - Set output.image_id to be the real output of the launch t… Sep 22, 2022
@bushong1 bushong1 changed the title fix: #2235 - Set output.image_id to be the real output of the launch t… fix: Set output.image_id to be the real output of the launch template Sep 22, 2022
@bryantbiggs bryantbiggs changed the title fix: Set output.image_id to be the real output of the launch template fix: Set image_id to come from the launch template instead of data source for self-managed node groups Sep 26, 2022
@bryantbiggs bryantbiggs merged commit c5944e5 into terraform-aws-modules:master Sep 26, 2022
antonbabenko pushed a commit that referenced this pull request Sep 26, 2022
### [18.29.1](v18.29.0...v18.29.1) (2022-09-26)

### Bug Fixes

* Set `image_id` to come from the launch template instead of data source for self-managed node groups ([#2239](#2239)) ([c5944e5](c5944e5))
@antonbabenko
Copy link
Member

This PR is included in version 18.29.1 🎉

@github-actions
Copy link

github-actions bot commented Nov 8, 2022

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 Nov 8, 2022
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