Skip to content

Commit

Permalink
Templates update (#152)
Browse files Browse the repository at this point in the history
* Support AWS Provider V5

* Support AWS Provider V5
  • Loading branch information
max-lobur authored Dec 14, 2023
1 parent 16345e1 commit dc6f723
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 332 deletions.
7 changes: 4 additions & 3 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -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"]
}
}
67 changes: 0 additions & 67 deletions .github/workflows/auto-context.yml

This file was deleted.

88 changes: 0 additions & 88 deletions .github/workflows/auto-format.yml

This file was deleted.

71 changes: 0 additions & 71 deletions .github/workflows/auto-readme.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/auto-release.yml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/workflows/chatops.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/validate-codeowners.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Available targets:

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.0 |

## Providers
Expand Down
2 changes: 1 addition & 1 deletion docs/terraform.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

| Name | Version |
|------|---------|
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.0.0 |
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3 |
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | >= 4.0 |

## Providers
Expand Down
16 changes: 10 additions & 6 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down
Loading

0 comments on commit dc6f723

Please sign in to comment.