diff --git a/.github/renovate.json b/.github/renovate.json index b61ed24..909df09 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,13 +1,14 @@ { "extends": [ "config:base", - ":preserveSemverRanges" + ":preserveSemverRanges", + ":rebaseStalePrs" ], - "baseBranches": ["main", "master", "/^release\\/v\\d{1,2}$/"], + "baseBranches": ["main"], "labels": ["auto-update"], "dependencyDashboardAutoclose": true, "enabledManagers": ["terraform"], "terraform": { - "ignorePaths": ["**/context.tf", "examples/**"] + "ignorePaths": ["**/context.tf"] } } diff --git a/README.md b/README.md index 3cdc398..9a8ca84 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ Available targets: | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.0.0 | +| [terraform](#requirement\_terraform) | >= 1.3 | | [aws](#requirement\_aws) | >= 4.0 | ## Providers diff --git a/docs/terraform.md b/docs/terraform.md index c8f3982..8251864 100644 --- a/docs/terraform.md +++ b/docs/terraform.md @@ -3,7 +3,7 @@ | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.0.0 | +| [terraform](#requirement\_terraform) | >= 1.3 | | [aws](#requirement\_aws) | >= 4.0 | ## Providers diff --git a/examples/complete/main.tf b/examples/complete/main.tf index 461920d..e0416ee 100644 --- a/examples/complete/main.tf +++ b/examples/complete/main.tf @@ -3,22 +3,26 @@ provider "aws" { } module "vpc" { - source = "cloudposse/vpc/aws" - version = "2.1.0" + source = "cloudposse/vpc/aws" + version = "2.1.1" + ipv4_primary_cidr_block = var.vpc_cidr_block - context = module.this.context + + context = module.this.context } module "subnets" { - source = "cloudposse/dynamic-subnets/aws" - version = "2.3.0" + source = "cloudposse/dynamic-subnets/aws" + version = "2.4.1" + availability_zones = var.availability_zones vpc_id = module.vpc.vpc_id igw_id = [module.vpc.igw_id] ipv4_cidr_block = [module.vpc.vpc_cidr_block] nat_gateway_enabled = false nat_instance_enabled = false - context = module.this.context + + context = module.this.context } module "alb" { diff --git a/examples/complete/versions.tf b/examples/complete/versions.tf index 1c72c84..d38b216 100644 --- a/examples/complete/versions.tf +++ b/examples/complete/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.0.0" + required_version = ">= 1.3" required_providers { aws = { diff --git a/versions.tf b/versions.tf index 1c72c84..d38b216 100644 --- a/versions.tf +++ b/versions.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.0.0" + required_version = ">= 1.3" required_providers { aws = {