Skip to content

Commit c271ff7

Browse files
authored
docs: fix EKS argocd_cluster example (#312)
1 parent e6eff84 commit c271ff7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ resource "argocd_cluster" "eks" {
112112
role_arn = "arn:aws:iam::<123456789012>:role/<role-name>"
113113
}
114114
tls_client_config {
115-
ca_data = data.aws_eks_cluster.cluster.certificate_authority[0].data
115+
ca_data = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data)
116116
}
117117
}
118118
}

examples/resources/argocd_cluster/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ resource "argocd_cluster" "eks" {
9797
role_arn = "arn:aws:iam::<123456789012>:role/<role-name>"
9898
}
9999
tls_client_config {
100-
ca_data = data.aws_eks_cluster.cluster.certificate_authority[0].data
100+
ca_data = base64decode(data.aws_eks_cluster.cluster.certificate_authority[0].data)
101101
}
102102
}
103103
}

0 commit comments

Comments
 (0)