diff --git a/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf b/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf index 368b47187..a3855547d 100644 --- a/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf +++ b/terraform-modules/aws/helm/kubernetes-external-secrets/main.tf @@ -1,6 +1,6 @@ locals { - base_name = "kubernetes-external-secrets" - iam_policy_file = "iam-policy.tpl.json" + base_name = "kubernetes-external-secrets" + iam_policy_file = "iam-policy.tpl.json" k8s_service_account_name = "kubernetes-external-secrets" } @@ -20,8 +20,8 @@ module "iam_assumable_role_admin" { data "template_file" "iam_policy" { template = file("${path.module}/iam-policy.tpl.json") vars = { - awsAccountID = data.aws_caller_identity.current.account_id - awsRegion = data.aws_region.current.name + awsAccountID = data.aws_caller_identity.current.account_id + awsRegion = data.aws_region.current.name } } diff --git a/terraform-modules/aws/helm/kubernetes-external-secrets/variables.tf b/terraform-modules/aws/helm/kubernetes-external-secrets/variables.tf index 0295267b0..786310d56 100644 --- a/terraform-modules/aws/helm/kubernetes-external-secrets/variables.tf +++ b/terraform-modules/aws/helm/kubernetes-external-secrets/variables.tf @@ -1,42 +1,42 @@ -variable helm_version { +variable "helm_version" { type = string default = "8.3.0" description = "Helm chart version" } -variable verify { +variable "verify" { type = bool default = false description = "Verify the helm download" } variable "create_namespace" { - type = bool - default = true + type = bool + default = true description = "Create namespace if it does not exist" } -variable namespace { +variable "namespace" { type = string default = "kubernetes-external-secrets" description = "Namespace to install in" } -variable chart_name { +variable "chart_name" { type = string default = "kubernetes-external-secrets" description = "Name to set the helm deployment to" } -variable helm_values { +variable "helm_values" { type = string default = "" description = "Additional helm values to pass in. These values would override the default in this module." } variable "environment_name" { - type = string - default = "env" + type = string + default = "env" description = "An environment name to attach to some resources. Optional only needed if you are going to create more than one of these items in an AWS account" }