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: The data.aws_ami.eks_default filter requires sting and got null #1962

Closed
wants to merge 1 commit into from
Closed

fix: The data.aws_ami.eks_default filter requires sting and got null #1962

wants to merge 1 commit into from

Conversation

aidanmelen
Copy link

@aidanmelen aidanmelen commented Mar 24, 2022

Description

The data.aws_ami.eks_default filter requires sting and get null by default.

Motivation and Context

#1959 (comment)

Breaking Changes

N/A

How Has This Been Tested?

╷
│ Error: Invalid template interpolation value
│ 
│   on ../../modules/self-managed-node-group/main.tf line 10, in data "aws_ami" "eks_default":
│   10:     values = ["amazon-eks-node-${var.cluster_version}-v*"]
│     ├────────────────
│     │ var.cluster_version is null
│ 
│ The expression result is null. Cannot include a null value in a string template.
╵
╷
│ Error: Invalid template interpolation value
│ 
│   on ../../modules/self-managed-node-group/main.tf line 10, in data "aws_ami" "eks_default":
│   10:     values = ["amazon-eks-node-${var.cluster_version}-v*"]
│     ├────────────────
│     │ var.cluster_version is null
│ 
│ The expression result is null. Cannot include a null value in a string template.
╵
╷
│ Error: Invalid template interpolation value
│ 
│   on ../../modules/self-managed-node-group/main.tf line 10, in data "aws_ami" "eks_default":
│   10:     values = ["amazon-eks-node-${var.cluster_version}-v*"]
│     ├────────────────
│     │ var.cluster_version is null
│ 
│ The expression result is null. Cannot include a null value in a string template.
╵
╷
│ Error: Invalid template interpolation value
│ 
│   on ../../modules/self-managed-node-group/main.tf line 10, in data "aws_ami" "eks_default":
│   10:     values = ["amazon-eks-node-${var.cluster_version}-v*"]
│     ├────────────────
│     │ var.cluster_version is null
│ 
│ The expression result is null. Cannot include a null value in a string template.
╵

@aidanmelen aidanmelen changed the title fix: the data.aws_ami.eks_default filter requires sting and got null fix: The data.aws_ami.eks_default filter requires sting and got null Mar 24, 2022
@antonbabenko
Copy link
Member

This issue has been resolved in version 18.14.1 🎉

@github-actions
Copy link

github-actions bot commented Nov 9, 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 9, 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.

2 participants