diff --git a/examples/single_scope_ipv4/versions.tf b/examples/single_scope_ipv4/versions.tf index 60d3359..7f884e2 100644 --- a/examples/single_scope_ipv4/versions.tf +++ b/examples/single_scope_ipv4/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.15.0" + required_version = ">= 1.3.0" required_providers { aws = { source = "hashicorp/aws" diff --git a/modules/sub_pool/main.tf b/modules/sub_pool/main.tf index de4defc..592d1e1 100644 --- a/modules/sub_pool/main.tf +++ b/modules/sub_pool/main.tf @@ -1,11 +1,11 @@ locals { description = var.pool_config.description == null ? var.implied_description : var.pool_config.description - + name = var.pool_config.name == null ? var.implied_name : var.pool_config.name tags = merge(var.pool_config.tags, { Name = local.name } ) - + ram_share_enabled = try(length(var.pool_config.ram_share_principals), 0) > 0 } diff --git a/modules/sub_pool/versions.tf b/modules/sub_pool/versions.tf index 1eb3fce..7f884e2 100644 --- a/modules/sub_pool/versions.tf +++ b/modules/sub_pool/versions.tf @@ -1,6 +1,5 @@ terraform { - required_version = ">= 0.15.0" - experiments = [module_variable_optional_attrs] + required_version = ">= 1.3.0" required_providers { aws = { source = "hashicorp/aws" diff --git a/versions.tf b/versions.tf index 1eb3fce..7f884e2 100644 --- a/versions.tf +++ b/versions.tf @@ -1,6 +1,5 @@ terraform { - required_version = ">= 0.15.0" - experiments = [module_variable_optional_attrs] + required_version = ">= 1.3.0" required_providers { aws = { source = "hashicorp/aws"