Skip to content

Commit e45f1ba

Browse files
authored
Fix examples (#13)
1 parent 9f8396a commit e45f1ba

File tree

5 files changed

+23
-3
lines changed

5 files changed

+23
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Terraform module to create a Security Group with ingress and egress rules in one
7474
```hcl
7575
module "vpc" {
7676
source = "registry.terraform.io/terraform-aws-modules/vpc/aws"
77-
version = "~> 3.19"
77+
version = "~> 5.0.0"
7878
7979
name = "${var.name}-main"
8080
cidr = "10.100.0.0/16"

examples/basic-example/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "vpc" {
22
source = "registry.terraform.io/terraform-aws-modules/vpc/aws"
3-
version = "~> 3.19"
3+
version = "~> 5.0.0"
44

55
name = "${var.name}-main"
66
cidr = "10.100.0.0/16"

examples/basic-example/versions.tf

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
terraform {
2+
required_version = ">= 1.3"
3+
4+
required_providers {
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 4.36"
8+
}
9+
}
10+
}

examples/full/main.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module "vpc" {
22
source = "registry.terraform.io/terraform-aws-modules/vpc/aws"
3-
version = "~> 3.19"
3+
version = "~> 5.0.0"
44

55
name = "${var.name}-main"
66
cidr = "10.100.0.0/16"

examples/full/versions.tf

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
terraform {
2+
required_version = ">= 1.3"
3+
4+
required_providers {
5+
aws = {
6+
source = "hashicorp/aws"
7+
version = ">= 4.36"
8+
}
9+
}
10+
}

0 commit comments

Comments
 (0)