Commit 20dc2c87 authored by Anton Babenko's avatar Anton Babenko Committed by GitHub

feat: Added support for Terraform 0.14 (#525)

parent f1e45410
...@@ -2,3 +2,5 @@ ...@@ -2,3 +2,5 @@
terraform.tfstate terraform.tfstate
*.tfstate* *.tfstate*
terraform.tfvars terraform.tfvars
.terraform.lock.hcl
config {
deep_check = false
ignore_module = {}
varfile = []
}
rule "terraform_deprecated_interpolation" {
enabled = true
}
rule "terraform_deprecated_index" {
enabled = true
}
rule "terraform_unused_declarations" {
enabled = true
}
rule "terraform_comment_syntax" {
enabled = true
}
rule "terraform_documented_outputs" {
enabled = true
}
rule "terraform_documented_variables" {
enabled = true
}
rule "terraform_typed_variables" {
enabled = true
}
rule "terraform_module_pinned_source" {
enabled = true
}
rule "terraform_naming_convention" {
enabled = true
}
rule "terraform_required_version" {
enabled = true
}
rule "terraform_required_providers" {
enabled = true
}
rule "terraform_standard_module_structure" {
enabled = true
}
rule "terraform_workspace_remote" {
enabled = true
}
...@@ -224,14 +224,14 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway ...@@ -224,14 +224,14 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Inputs ## Inputs
......
...@@ -21,14 +21,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,14 +21,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Inputs ## Inputs
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -19,14 +19,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -19,14 +19,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Inputs ## Inputs
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -21,8 +21,8 @@ Run `terraform destroy` when you don't need these resources. ...@@ -21,8 +21,8 @@ Run `terraform destroy` when you don't need these resources.
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -25,8 +25,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -25,8 +25,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -23,15 +23,15 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -23,15 +23,15 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
| random | >= 2 | | random | >= 2 |
## Providers ## Providers
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
| random | >= 2 | | random | >= 2 |
## Inputs ## Inputs
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
random = ">= 2" random = ">= 2"
} }
} }
...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP ...@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP
| Name | Version | | Name | Version |
|------|---------| |------|---------|
| terraform | >= 0.12.7, < 0.14 | | terraform | >= 0.12.7 |
| aws | >= 2.68, < 4.0 | | aws | >= 2.68 |
## Providers ## Providers
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
...@@ -217,12 +217,6 @@ resource "aws_route_table" "private" { ...@@ -217,12 +217,6 @@ resource "aws_route_table" "private" {
var.tags, var.tags,
var.private_route_table_tags, var.private_route_table_tags,
) )
lifecycle {
# When attaching VPN gateways it is common to define aws_vpn_gateway_route_propagation
# resources that manipulate the attributes of the routing table (typically for the private subnets)
ignore_changes = [propagating_vgws]
}
} }
################# #################
......
terraform { terraform {
required_version = ">= 0.12.7, < 0.14" required_version = ">= 0.12.7"
required_providers { required_providers {
aws = ">= 2.68, < 4.0" aws = ">= 2.68"
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment