Skip to content

Commit a19ea52

Browse files
committed
Fix dependency issue on aws_eks_cluster data source
1 parent b5307bb commit a19ea52

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.26.3
1+
0.26.4

modules/eks-addon/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ resource "aws_eks_addon" "this" {
5454
###################################################
5555

5656
data "aws_eks_cluster" "this" {
57-
name = var.cluster_name
57+
name = aws_eks_addon.this.cluster_name
5858
}
5959

6060
data "aws_eks_addon_version" "default" {

modules/eks-addon/outputs.tf

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,11 @@ output "updated_at" {
6262
description = "Date and time in RFC3339 format that the EKS add-on was updated."
6363
value = aws_eks_addon.this.modified_at
6464
}
65+
66+
# output "debug" {
67+
# value = {
68+
# for k, v in aws_eks_addon.this :
69+
# k => v
70+
# if !contains(["id", "arn", "cluster_name", "addon_name", "addon_version", "service_account_role_arn", "resolve_conflicts_on_create", "resolve_conflicts_on_update", "created_at", "modified_at", "tags", "tags_all"], k)
71+
# }
72+
# }

0 commit comments

Comments
 (0)