Skip to content

Commit

Permalink
experiment optional variable setting removed to support terraform 1.3…
Browse files Browse the repository at this point in the history
… version (#10)

Signed-off-by: pragrawal10 <[email protected]>

Signed-off-by: pragrawal10 <[email protected]>
  • Loading branch information
pragrawal-px authored Oct 11, 2022
1 parent 7b2f8cd commit bf6d1f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
27 changes: 2 additions & 25 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
}
3 changes: 0 additions & 3 deletions versions.tf
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
terraform {
required_version = ">= 1.0.0"

experiments = [module_variable_optional_attrs]

required_providers {
aws = {
source = "hashicorp/aws"
Expand Down

0 comments on commit bf6d1f6

Please sign in to comment.