Skip to content

Commit

Permalink
Fix dependency issue on aws_eks_cluster data source
Browse files Browse the repository at this point in the history
  • Loading branch information
posquit0 committed Jun 19, 2024
1 parent b5307bb commit a19ea52
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.26.3
0.26.4
2 changes: 1 addition & 1 deletion modules/eks-addon/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ resource "aws_eks_addon" "this" {
###################################################

data "aws_eks_cluster" "this" {
name = var.cluster_name
name = aws_eks_addon.this.cluster_name
}

data "aws_eks_addon_version" "default" {
Expand Down
8 changes: 8 additions & 0 deletions modules/eks-addon/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,11 @@ output "updated_at" {
description = "Date and time in RFC3339 format that the EKS add-on was updated."
value = aws_eks_addon.this.modified_at
}

# output "debug" {
# value = {
# for k, v in aws_eks_addon.this :
# k => v
# 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)
# }
# }

0 comments on commit a19ea52

Please sign in to comment.