Skip to content

Commit b1bcd33

Browse files
Upgraded the module version (#6)
an updated version of VPC and an updated source in the example file
1 parent cc72f4e commit b1bcd33

File tree

5 files changed

+8
-16
lines changed

5 files changed

+8
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ In this module, we have implemented the following CIS Compliance checks for VPC:
135135

136136
| Name | Source | Version |
137137
|------|--------|---------|
138-
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 3.14.4 |
138+
| <a name="module_vpc"></a> [vpc](#module\_vpc) | terraform-aws-modules/vpc/aws | 4.0.2 |
139139
| <a name="module_vpn_server"></a> [vpn\_server](#module\_vpn\_server) | ./modules/vpn | n/a |
140140

141141
## Resources

examples/complete-vpc-with-vpn/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
locals {
2-
name = "skaf"
2+
name = "vpc"
33
region = "us-east-1"
44
environment = "prod"
55
additional_aws_tags = {
6-
Owner = "SquareOps"
6+
Owner = "Organization_Name"
77
Expires = "Never"
88
Department = "Engineering"
99
}

examples/simple-vpc/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ No requirements.
2525

2626
## Providers
2727

28-
| Name | Version |
29-
|------|---------|
30-
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
28+
No providers.
3129

3230
## Modules
3331

@@ -37,9 +35,7 @@ No requirements.
3735

3836
## Resources
3937

40-
| Name | Type |
41-
|------|------|
42-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |
38+
No resources.
4339

4440
## Inputs
4541

examples/vpc-with-private-subnet/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ No requirements.
2323

2424
## Providers
2525

26-
| Name | Version |
27-
|------|---------|
28-
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
26+
No providers.
2927

3028
## Modules
3129

@@ -35,9 +33,7 @@ No requirements.
3533

3634
## Resources
3735

38-
| Name | Type |
39-
|------|------|
40-
| [aws_availability_zones.available](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/availability_zones) | data source |
36+
No resources.
4137

4238
## Inputs
4339

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ data "aws_ec2_instance_type" "arch" {
2525

2626
module "vpc" {
2727
source = "terraform-aws-modules/vpc/aws"
28-
version = "3.14.4"
28+
version = "4.0.2"
2929
name = format("%s-%s-vpc", var.environment, var.name)
3030
cidr = var.vpc_cidr # CIDR FOR VPC
3131
azs = [for n in range(0, var.availability_zones) : data.aws_availability_zones.available.names[n]]

0 commit comments

Comments
 (0)