diff --git a/modules/addon-irsa/.terraform.lock.hcl b/modules/addon-irsa/.terraform.lock.hcl index 79ea947..7da4a83 100644 --- a/modules/addon-irsa/.terraform.lock.hcl +++ b/modules/addon-irsa/.terraform.lock.hcl @@ -6,6 +6,7 @@ provider "registry.terraform.io/hashicorp/aws" { constraints = "~> 5.0" hashes = [ "h1:6u5Z28ArVnKsadP+ZRQYWPM4kNtTF7OZv7ZLzT2LBDc=", + "h1:YCupEeam12IXAPo9j2wvnfJTqFFuaHjyzTgSj3GlOeg=", "h1:ucNFgeMRknvGjwQrVf6FzR9I5kYpFxEl3F0MeVgloBw=", "h1:yIDopRNeRAXg1UZpPlO6GNofDyzqSPkl/+Eoc3pKW4Q=", "zh:2adad39412111d19a5195474d6b95577fc25ccf06d88a90019bee0efba33a1e3", diff --git a/modules/addon-irsa/outputs.tf b/modules/addon-irsa/outputs.tf index 64a711b..70c294b 100644 --- a/modules/addon-irsa/outputs.tf +++ b/modules/addon-irsa/outputs.tf @@ -1,5 +1,5 @@ output "irsa_role_enabled" { - description = "Whether is IRSA role enabled" + description = "Whether IRSA role is enabled" value = local.irsa_role_create } diff --git a/modules/addon-irsa/variables.tf b/modules/addon-irsa/variables.tf index 9b4e997..471a0ff 100644 --- a/modules/addon-irsa/variables.tf +++ b/modules/addon-irsa/variables.tf @@ -104,12 +104,12 @@ variable "irsa_tags" { variable "irsa_assume_role_policy_condition_test" { type = string - default = "StringEquals" + default = null description = "Specifies the condition test to use for the assume role trust policy. Defaults to `StringEquals`." } variable "irsa_assume_role_policy_condition_values" { type = list(string) - default = [] + default = null description = "Specifies the values for the assume role trust policy condition. Each entry in this list must follow the required format `system:serviceaccount:$service_account_namespace:$service_account_name`. If this variable is left as the default, `local.irsa_assume_role_policy_condition_values_default` is used instead, which is a list containing a single value. Note that if this list is defined, the `service_account_name` and `service_account_namespace` variables are ignored." }