Skip to content

Commit

Permalink
Use join for configmap auth file and template file in auth.tf (#26)
Browse files Browse the repository at this point in the history
* auth.tf: Use join for config map file

* auth.tf: Fix typo for local variable

* auth.tf: Format auth module
  • Loading branch information
RobusGauli authored and aknysh committed Nov 4, 2019
1 parent e4b29b1 commit 9468626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ locals {
certificate_authority_data_map = local.certificate_authority_data_list_internal[0]
certificate_authority_data = local.certificate_authority_data_map["data"]

configmap_auth_template_file = "${path.module}/configmap-auth.yaml.tpl"
configmap_auth_file = "${path.module}/configmap-auth.yaml"
configmap_auth_template_file = join("/", [path.module, "configmap-auth.yaml.tpl"])
configmap_auth_file = join("/", [path.module, "configmap-auth.yaml"])

cluster_name = join("", aws_eks_cluster.default.*.id)

Expand Down

0 comments on commit 9468626

Please sign in to comment.