Fixed terraform formatting

This commit is contained in:
Steve Davids
2018-06-29 20:49:40 -04:00
parent fddc353713
commit 34cf66b47d
2 changed files with 14 additions and 12 deletions

View File

@@ -65,7 +65,9 @@ data "template_file" "aws_authenticator_env_variables" {
- name: $${key} - name: $${key}
value: $${value} value: $${value}
EOF EOF
count = "${length(var.kubeconfig_aws_authenticator_env_variables)}" count = "${length(var.kubeconfig_aws_authenticator_env_variables)}"
vars { vars {
value = "${element(values(var.kubeconfig_aws_authenticator_env_variables), count.index)}" value = "${element(values(var.kubeconfig_aws_authenticator_env_variables), count.index)}"
key = "${element(keys(var.kubeconfig_aws_authenticator_env_variables), count.index)}" key = "${element(keys(var.kubeconfig_aws_authenticator_env_variables), count.index)}"