Skip to content

Commit 2497e0b

Browse files
committed
Got rid of unneeded 'data' variables.
1 parent f33d427 commit 2497e0b

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

EKS/FSxN-as-PVC-for-EKS/terraform/eks-cluster.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,3 @@ data "cloudinit_config" "cloudinit" {
122122
content = file("scripts/iscsi.sh")
123123
}
124124
}
125-
126-
data "aws_eks_cluster" "eks" {
127-
name = module.eks.cluster_name
128-
}
129-
130-
data "aws_eks_cluster_auth" "eks" {
131-
name = module.eks.cluster_name
132-
}

EKS/FSxN-as-PVC-for-EKS/terraform/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ output "fsx-management-ip" {
2424
}
2525

2626
output "eks-cluster-name" {
27-
value = data.aws_eks_cluster.eks.id
27+
value = module.eks.cluster_name
2828
}
2929

3030
output "vpc-id" {

0 commit comments

Comments
 (0)