Use kubernetes provider to manage aws auth (#355)

This commit changes the way aws auth is managed. Before a local file
was used the generate the template and a null resource to apply it. This
is now switched to the terraform kubernetes provider.
This commit is contained in:
Stijn De Haes
2019-11-28 10:25:13 +01:00
committed by Max Williams
parent b69c8fb759
commit 9363662574
10 changed files with 108 additions and 82 deletions

View File

@@ -30,7 +30,7 @@ output "cluster_security_group_id" {
output "config_map_aws_auth" {
description = "A kubernetes configuration to authenticate to this EKS cluster."
value = data.template_file.config_map_aws_auth.rendered
value = kubernetes_config_map.aws_auth.*
}
output "cluster_iam_role_name" {