Skip to content

Commit 2b1f129

Browse files
authored
Support AWS Provider V5 (#147)
1 parent 856b3ba commit 2b1f129

File tree

4 files changed

+11
-17
lines changed

4 files changed

+11
-17
lines changed

.github/workflows/release-branch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
- 'docs/**'
1111
- 'examples/**'
1212
- 'test/**'
13+
- 'README.*'
1314

1415
permissions:
1516
contents: write

.github/workflows/release-published.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ permissions:
1111

1212
jobs:
1313
terraform-module:
14-
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release.yml@main
14+
uses: cloudposse/github-actions-workflows-terraform-module/.github/workflows/release-published.yml@main

ami.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ locals {
2222
# e.g. amazon-eks-arm64-node-1.21-v20211013
2323
AL2 = "amazon-eks%s-node-%s"
2424
# bottlerocket-aws-k8s-{ami_kubernetes_version}-{arch_label}-v{ami_version}
25-
# e.g. bottlerocket-aws-k8s-1.21-x86_64-v1.2.0-ccf1b754
25+
# e.g. bottlerocket-aws-k8s-1.21-x86_64-v1[2].0-ccf1b754
2626
BOTTLEROCKET = "bottlerocket-aws-k8s-%s-%s-%s"
2727
# Windows_Server-2019-English-Core-EKS_Optimized-{ami_kubernetes_version}-{ami_version}
2828
# e.g. Windows_Server-2019-English-Core-EKS_Optimized-1.23-2022.11.08

examples/complete/main.tf

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,29 +48,22 @@ locals {
4848
}
4949

5050
module "vpc" {
51-
source = "cloudposse/vpc/aws"
52-
version = "1.1.0"
53-
54-
cidr_block = var.vpc_cidr_block
55-
tags = local.tags
56-
57-
context = module.this.context
51+
source = "cloudposse/vpc/aws"
52+
version = "2.1.0"
53+
ipv4_primary_cidr_block = var.vpc_cidr_block
54+
context = module.this.context
5855
}
5956

6057
module "subnets" {
61-
source = "cloudposse/dynamic-subnets/aws"
62-
version = "2.0.2"
63-
58+
source = "cloudposse/dynamic-subnets/aws"
59+
version = "2.3.0"
6460
availability_zones = var.availability_zones
6561
vpc_id = module.vpc.vpc_id
6662
igw_id = [module.vpc.igw_id]
6763
ipv4_cidr_block = [module.vpc.vpc_cidr_block]
68-
max_nats = 1
69-
nat_gateway_enabled = true
64+
nat_gateway_enabled = false
7065
nat_instance_enabled = false
71-
tags = local.tags
72-
73-
context = module.this.context
66+
context = module.this.context
7467
}
7568

7669
module "ssh_source_access" {

0 commit comments

Comments
 (0)