diff --git a/modules/self-managed-node-group/outputs.tf b/modules/self-managed-node-group/outputs.tf index 0cfba97d25..e9f52db14f 100644 --- a/modules/self-managed-node-group/outputs.tf +++ b/modules/self-managed-node-group/outputs.tf @@ -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" {