Skip to content

Commit

Permalink
fix: Set image_id to come from the launch template instead of data …
Browse files Browse the repository at this point in the history
…source for self-managed node groups (#2239)
  • Loading branch information
bushong1 authored Sep 26, 2022
1 parent 57bb667 commit c5944e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/self-managed-node-group/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ output "platform" {

output "image_id" {
description = "ID of the image"
value = try(data.aws_ami.eks_default[0].image_id, "")
value = try(aws_launch_template.this[0].image_id, "")
}

output "user_data" {
Expand Down

0 comments on commit c5944e5

Please sign in to comment.