Fix fmt for v0.12.6 (#460)

This commit is contained in:
Karoline Pauls
2019-08-06 16:26:05 +01:00
committed by Max Williams
parent c5c3d385b7
commit 630a0cc3fb
2 changed files with 20 additions and 20 deletions

View File

@@ -27,8 +27,8 @@ EOS
triggers = {
kube_config_map_rendered = data.template_file.kubeconfig.rendered
config_map_rendered = data.template_file.config_map_aws_auth.rendered
endpoint = aws_eks_cluster.this.endpoint
config_map_rendered = data.template_file.config_map_aws_auth.rendered
endpoint = aws_eks_cluster.this.endpoint
}
}
@@ -36,7 +36,7 @@ data "aws_caller_identity" "current" {
}
data "template_file" "launch_template_mixed_worker_role_arns" {
count = local.worker_group_launch_template_mixed_count
count = local.worker_group_launch_template_mixed_count
template = file("${path.module}/templates/worker-role.tpl")
vars = {
@@ -51,7 +51,7 @@ data "template_file" "launch_template_mixed_worker_role_arns" {
}
data "template_file" "launch_template_worker_role_arns" {
count = local.worker_group_launch_template_count
count = local.worker_group_launch_template_count
template = file("${path.module}/templates/worker-role.tpl")
vars = {
@@ -66,7 +66,7 @@ data "template_file" "launch_template_worker_role_arns" {
}
data "template_file" "worker_role_arns" {
count = local.worker_group_count
count = local.worker_group_count
template = file("${path.module}/templates/worker-role.tpl")
vars = {
@@ -95,8 +95,8 @@ data "template_file" "config_map_aws_auth" {
),
),
)
map_users = join("", data.template_file.map_users.*.rendered)
map_roles = join("", data.template_file.map_roles.*.rendered)
map_users = join("", data.template_file.map_users.*.rendered)
map_roles = join("", data.template_file.map_roles.*.rendered)
map_accounts = join("", data.template_file.map_accounts.*.rendered)
}
}
@@ -110,7 +110,7 @@ data "template_file" "map_users" {
vars = {
user_arn = var.map_users[count.index]["user_arn"]
username = var.map_users[count.index]["username"]
group = var.map_users[count.index]["group"]
group = var.map_users[count.index]["group"]
}
}
@@ -123,7 +123,7 @@ data "template_file" "map_roles" {
vars = {
role_arn = var.map_roles[count.index]["role_arn"]
username = var.map_roles[count.index]["username"]
group = var.map_roles[count.index]["group"]
group = var.map_roles[count.index]["group"]
}
}