Skip to content

Commit

Permalink
fix: duplicate depends_on
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchiFleKs committed Jun 27, 2019
1 parent 32be6d9 commit 7d59728
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions terraform/modules/eks/eks-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ resource "aws_cloudwatch_log_group" "eks-logs" {
}

resource "aws_eks_cluster" "eks" {
depends_on = ["aws_cloudwatch_log_group.eks-logs"]

name = "${var.cluster-name}"
role_arn = "${aws_iam_role.eks-cluster.arn}"

Expand All @@ -96,5 +94,6 @@ resource "aws_eks_cluster" "eks" {
depends_on = [
"aws_iam_role_policy_attachment.eks-cluster-AmazonEKSClusterPolicy",
"aws_iam_role_policy_attachment.eks-cluster-AmazonEKSServicePolicy",
"aws_cloudwatch_log_group.eks-logs",
]
}

0 comments on commit 7d59728

Please sign in to comment.