From bf6d1f68eee97052cac105563bebf19a5e6f4512 Mon Sep 17 00:00:00 2001 From: Pradyuman Agrawal <107980189+pragrawal10@users.noreply.github.com> Date: Wed, 12 Oct 2022 00:42:46 +0530 Subject: [PATCH] experiment optional variable setting removed to support terraform 1.3 version (#10) Signed-off-by: pragrawal10 Signed-off-by: pragrawal10 --- variables.tf | 27 ++------------------------- versions.tf | 3 --- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/variables.tf b/variables.tf index a020be4..9c99f07 100644 --- a/variables.tf +++ b/variables.tf @@ -4,31 +4,8 @@ variable "helm_config" { default = {} } -variable "irsa_config" { - description = "Input configuration for IRSA module" - type = object({ - kubernetes_namespace = string - create_kubernetes_namespace = optional(bool) - kubernetes_service_account = string - create_kubernetes_service_account = optional(bool) - irsa_iam_policies = optional(list(string)) - }) - default = null -} - variable "addon_context" { description = "Input configuration for the addon" - type = object({ - aws_caller_identity_account_id = string - aws_caller_identity_arn = string - aws_eks_cluster_endpoint = string - aws_partition_id = string - aws_region_name = string - eks_cluster_id = string - eks_oidc_issuer_url = string - eks_oidc_provider_arn = string - tags = map(string) - irsa_iam_role_path = optional(string) - irsa_iam_permissions_boundary = optional(string) - }) + type = any + default = {} } diff --git a/versions.tf b/versions.tf index 84f2551..349baff 100644 --- a/versions.tf +++ b/versions.tf @@ -1,8 +1,5 @@ terraform { required_version = ">= 1.0.0" - - experiments = [module_variable_optional_attrs] - required_providers { aws = { source = "hashicorp/aws"