Skip to content

Commit 20dc2c8

Browse files
authored
feat: Added support for Terraform 0.14 (#525)
1 parent f1e4541 commit 20dc2c8

File tree

27 files changed

+54
-115
lines changed

27 files changed

+54
-115
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
terraform.tfstate
33
*.tfstate*
44
terraform.tfvars
5+
6+
.terraform.lock.hcl

.tflint.hcl

Lines changed: 0 additions & 57 deletions
This file was deleted.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,14 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
224224

225225
| Name | Version |
226226
|------|---------|
227-
| terraform | >= 0.12.7, < 0.14 |
228-
| aws | >= 2.68, < 4.0 |
227+
| terraform | >= 0.12.7 |
228+
| aws | >= 2.68 |
229229

230230
## Providers
231231

232232
| Name | Version |
233233
|------|---------|
234-
| aws | >= 2.68, < 4.0 |
234+
| aws | >= 2.68 |
235235

236236
## Inputs
237237

examples/complete-vpc/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2121

2222
| Name | Version |
2323
|------|---------|
24-
| terraform | >= 0.12.7, < 0.14 |
25-
| aws | >= 2.68, < 4.0 |
24+
| terraform | >= 0.12.7 |
25+
| aws | >= 2.68 |
2626

2727
## Providers
2828

2929
| Name | Version |
3030
|------|---------|
31-
| aws | >= 2.68, < 4.0 |
31+
| aws | >= 2.68 |
3232

3333
## Inputs
3434

examples/complete-vpc/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/ipv6/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP
1919

2020
| Name | Version |
2121
|------|---------|
22-
| terraform | >= 0.12.7, < 0.14 |
23-
| aws | >= 2.68, < 4.0 |
22+
| terraform | >= 0.12.7 |
23+
| aws | >= 2.68 |
2424

2525
## Providers
2626

2727
| Name | Version |
2828
|------|---------|
29-
| aws | >= 2.68, < 4.0 |
29+
| aws | >= 2.68 |
3030

3131
## Inputs
3232

examples/ipv6/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/issue-108-route-already-exists/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2323

2424
| Name | Version |
2525
|------|---------|
26-
| terraform | >= 0.12.7, < 0.14 |
27-
| aws | >= 2.68, < 4.0 |
26+
| terraform | >= 0.12.7 |
27+
| aws | >= 2.68 |
2828

2929
## Providers
3030

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/issue-44-asymmetric-private-subnets/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2121

2222
| Name | Version |
2323
|------|---------|
24-
| terraform | >= 0.12.7, < 0.14 |
25-
| aws | >= 2.68, < 4.0 |
24+
| terraform | >= 0.12.7 |
25+
| aws | >= 2.68 |
2626

2727
## Providers
2828

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/issue-46-no-private-subnets/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2121

2222
| Name | Version |
2323
|------|---------|
24-
| terraform | >= 0.12.7, < 0.14 |
25-
| aws | >= 2.68, < 4.0 |
24+
| terraform | >= 0.12.7 |
25+
| aws | >= 2.68 |
2626

2727
## Providers
2828

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/manage-default-vpc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Run `terraform destroy` when you don't need these resources.
2121

2222
| Name | Version |
2323
|------|---------|
24-
| terraform | >= 0.12.7, < 0.14 |
25-
| aws | >= 2.68, < 4.0 |
24+
| terraform | >= 0.12.7 |
25+
| aws | >= 2.68 |
2626

2727
## Providers
2828

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/network-acls/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2323

2424
| Name | Version |
2525
|------|---------|
26-
| terraform | >= 0.12.7, < 0.14 |
27-
| aws | >= 2.68, < 4.0 |
26+
| terraform | >= 0.12.7 |
27+
| aws | >= 2.68 |
2828

2929
## Providers
3030

examples/network-acls/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/secondary-cidr-blocks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2121

2222
| Name | Version |
2323
|------|---------|
24-
| terraform | >= 0.12.7, < 0.14 |
25-
| aws | >= 2.68, < 4.0 |
24+
| terraform | >= 0.12.7 |
25+
| aws | >= 2.68 |
2626

2727
## Providers
2828

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/simple-vpc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2525

2626
| Name | Version |
2727
|------|---------|
28-
| terraform | >= 0.12.7, < 0.14 |
29-
| aws | >= 2.68, < 4.0 |
28+
| terraform | >= 0.12.7 |
29+
| aws | >= 2.68 |
3030

3131
## Providers
3232

examples/simple-vpc/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

examples/vpc-flow-logs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2323

2424
| Name | Version |
2525
|------|---------|
26-
| terraform | >= 0.12.7, < 0.14 |
27-
| aws | >= 2.68, < 4.0 |
26+
| terraform | >= 0.12.7 |
27+
| aws | >= 2.68 |
2828
| random | >= 2 |
2929

3030
## Providers
3131

3232
| Name | Version |
3333
|------|---------|
34-
| aws | >= 2.68, < 4.0 |
34+
| aws | >= 2.68 |
3535
| random | >= 2 |
3636

3737
## Inputs

examples/vpc-flow-logs/versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
random = ">= 2"
77
}
88
}

examples/vpc-separate-private-route-tables/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
2121

2222
| Name | Version |
2323
|------|---------|
24-
| terraform | >= 0.12.7, < 0.14 |
25-
| aws | >= 2.68, < 4.0 |
24+
| terraform | >= 0.12.7 |
25+
| aws | >= 2.68 |
2626

2727
## Providers
2828

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

main.tf

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -217,12 +217,6 @@ resource "aws_route_table" "private" {
217217
var.tags,
218218
var.private_route_table_tags,
219219
)
220-
221-
lifecycle {
222-
# When attaching VPN gateways it is common to define aws_vpn_gateway_route_propagation
223-
# resources that manipulate the attributes of the routing table (typically for the private subnets)
224-
ignore_changes = [propagating_vgws]
225-
}
226220
}
227221

228222
#################

versions.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
terraform {
2-
required_version = ">= 0.12.7, < 0.14"
2+
required_version = ">= 0.12.7"
33

44
required_providers {
5-
aws = ">= 2.68, < 4.0"
5+
aws = ">= 2.68"
66
}
77
}

0 commit comments

Comments
 (0)