-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Description
I'm looking for an example of using the output config_map_aws_auth.
I want to apply the configmap when the cluster is first created.
Later, I then add aws_eks_fargate_profile in another Terraform (which also adds to the aws-auth configmap), so if this module is re-run it breaks the Fargate profile.
I tried this:
resource "local_file" "aws_auth" {
content = module.kubernetes.config_map_aws_auth
filename = "config-map-aws-auth_${module.kubernetes.cluster_id}.yaml"
file_permission = "0644"
directory_permission = "0755"
}
But gives me this error...
module.kubernetes.config_map_aws_auth is empty tuple
This value does not have any attributes.
Metadata
Metadata
Assignees
Labels
No labels