Skip to content

Commit 4776bb9

Browse files
committed
Update to version 6.x of terraform-aws-vpc to fix warnings about deprecated attributes with version 6.x of AWS provider
1 parent 8cc4f3a commit 4776bb9

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/event-source-mapping/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ resource "aws_kinesis_stream" "this" {
241241
# Amazon MQ
242242
module "vpc" {
243243
source = "terraform-aws-modules/vpc/aws"
244-
version = "~> 5.0"
244+
version = "~> 6.0"
245245

246246
name = random_pet.this.id
247247
cidr = local.vpc_cidr

examples/with-efs/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module "lambda_function_with_efs" {
4444

4545
module "vpc" {
4646
source = "terraform-aws-modules/vpc/aws"
47-
version = "~> 5.0"
47+
version = "~> 6.0"
4848

4949
name = random_pet.this.id
5050
cidr = "10.10.0.0/16"

examples/with-vpc-s3-endpoint/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ data "aws_ec2_managed_prefix_list" "this" {
5959

6060
module "vpc" {
6161
source = "terraform-aws-modules/vpc/aws"
62-
version = "~> 5.0"
62+
version = "~> 6.0"
6363

6464
name = random_pet.this.id
6565
cidr = "10.0.0.0/16"
@@ -101,7 +101,7 @@ module "vpc" {
101101

102102
module "vpc_endpoints" {
103103
source = "terraform-aws-modules/vpc/aws//modules/vpc-endpoints"
104-
version = "~> 5.0"
104+
version = "~> 6.0"
105105

106106
vpc_id = module.vpc.vpc_id
107107

examples/with-vpc/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module "lambda_function_in_vpc" {
3030

3131
module "vpc" {
3232
source = "terraform-aws-modules/vpc/aws"
33-
version = "~> 5.0"
33+
version = "~> 6.0"
3434

3535
name = random_pet.this.id
3636
cidr = "10.10.0.0/16"

0 commit comments

Comments
 (0)