From f238e43c014b38acb5144db41c641271b38ab950 Mon Sep 17 00:00:00 2001 From: Max Williams Date: Tue, 10 Jul 2018 12:55:38 +0200 Subject: [PATCH] adding types to fix the output of terraform-docs command --- README.md | 1 + variables.tf | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9d81c5d..fb0b265f 100644 --- a/README.md +++ b/README.md @@ -126,3 +126,4 @@ MIT Licensed. See [LICENSE](https://github.com/terraform-aws-modules/terraform-a | worker_iam_role_name | IAM role name attached to EKS workers | | worker_security_group_id | Security group ID attached to the EKS workers. | | workers_asg_arns | IDs of the autoscaling groups containing workers. | + diff --git a/variables.tf b/variables.tf index 1302a48b..63c09b76 100644 --- a/variables.tf +++ b/variables.tf @@ -34,6 +34,7 @@ variable "subnets" { variable "tags" { description = "A map of tags to add to all resources." + type = "map" default = {} } @@ -87,15 +88,17 @@ variable "kubeconfig_aws_authenticator_command" { variable "kubeconfig_aws_authenticator_additional_args" { description = "Any additional arguments to pass to the authenticator such as the role to assume [\"-r\", \"MyEksRole\"]" + type = "list" default = [] } variable "kubeconfig_aws_authenticator_env_variables" { description = "Environment variables that should be used when executing the authenticator i.e. { AWS_PROFILE = \"eks\"}" + type = "map" default = {} } variable "kubeconfig_name" { - description = "Override the default name used for items kubeconfig" + description = "Override the default name used for items kubeconfig." default = "" }