Browse Source

feat: Added support for Terraform 0.14 (#525)

tags/v2.58.0
Anton Babenko GitHub 1 month ago
parent
commit
20dc2c87a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 54 additions and 115 deletions
  1. +2
    -0
      .gitignore
  2. +0
    -57
      .tflint.hcl
  3. +3
    -3
      README.md
  4. +3
    -3
      examples/complete-vpc/README.md
  5. +2
    -2
      examples/complete-vpc/versions.tf
  6. +3
    -3
      examples/ipv6/README.md
  7. +2
    -2
      examples/ipv6/versions.tf
  8. +2
    -2
      examples/issue-108-route-already-exists/README.md
  9. +2
    -2
      examples/issue-108-route-already-exists/versions.tf
  10. +2
    -2
      examples/issue-44-asymmetric-private-subnets/README.md
  11. +2
    -2
      examples/issue-44-asymmetric-private-subnets/versions.tf
  12. +2
    -2
      examples/issue-46-no-private-subnets/README.md
  13. +2
    -2
      examples/issue-46-no-private-subnets/versions.tf
  14. +2
    -2
      examples/manage-default-vpc/README.md
  15. +2
    -2
      examples/manage-default-vpc/versions.tf
  16. +2
    -2
      examples/network-acls/README.md
  17. +2
    -2
      examples/network-acls/versions.tf
  18. +2
    -2
      examples/secondary-cidr-blocks/README.md
  19. +2
    -2
      examples/secondary-cidr-blocks/versions.tf
  20. +2
    -2
      examples/simple-vpc/README.md
  21. +2
    -2
      examples/simple-vpc/versions.tf
  22. +3
    -3
      examples/vpc-flow-logs/README.md
  23. +2
    -2
      examples/vpc-flow-logs/versions.tf
  24. +2
    -2
      examples/vpc-separate-private-route-tables/README.md
  25. +2
    -2
      examples/vpc-separate-private-route-tables/versions.tf
  26. +0
    -6
      main.tf
  27. +2
    -2
      versions.tf

+ 2
- 0
.gitignore View File

@@ -2,3 +2,5 @@
terraform.tfstate
*.tfstate*
terraform.tfvars

.terraform.lock.hcl

+ 0
- 57
.tflint.hcl View File

@@ -1,57 +0,0 @@
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
}

+ 3
- 3
README.md View File

@@ -224,14 +224,14 @@ It is possible to integrate this VPC module with [terraform-aws-transit-gateway

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 2.68, < 4.0 |
| aws | >= 2.68 |

## Inputs



+ 3
- 3
examples/complete-vpc/README.md View File

@@ -21,14 +21,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 2.68, < 4.0 |
| aws | >= 2.68 |

## Inputs



+ 2
- 2
examples/complete-vpc/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 3
- 3
examples/ipv6/README.md View File

@@ -19,14 +19,14 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 2.68, < 4.0 |
| aws | >= 2.68 |

## Inputs



+ 2
- 2
examples/ipv6/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 2
- 2
examples/issue-108-route-already-exists/README.md View File

@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/issue-108-route-already-exists/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 2
- 2
examples/issue-44-asymmetric-private-subnets/README.md View File

@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/issue-44-asymmetric-private-subnets/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 2
- 2
examples/issue-46-no-private-subnets/README.md View File

@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/issue-46-no-private-subnets/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 2
- 2
examples/manage-default-vpc/README.md View File

@@ -21,8 +21,8 @@ Run `terraform destroy` when you don't need these resources.

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/manage-default-vpc/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 2
- 2
examples/network-acls/README.md View File

@@ -23,8 +23,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/network-acls/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 2
- 2
examples/secondary-cidr-blocks/README.md View File

@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/secondary-cidr-blocks/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 2
- 2
examples/simple-vpc/README.md View File

@@ -25,8 +25,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/simple-vpc/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 3
- 3
examples/vpc-flow-logs/README.md View File

@@ -23,15 +23,15 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |
| random | >= 2 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 2.68, < 4.0 |
| aws | >= 2.68 |
| random | >= 2 |

## Inputs


+ 2
- 2
examples/vpc-flow-logs/versions.tf View File

@@ -1,8 +1,8 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
random = ">= 2"
}
}

+ 2
- 2
examples/vpc-separate-private-route-tables/README.md View File

@@ -21,8 +21,8 @@ Note that this example may create resources which can cost money (AWS Elastic IP

| Name | Version |
|------|---------|
| terraform | >= 0.12.7, < 0.14 |
| aws | >= 2.68, < 4.0 |
| terraform | >= 0.12.7 |
| aws | >= 2.68 |

## Providers



+ 2
- 2
examples/vpc-separate-private-route-tables/versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

+ 0
- 6
main.tf View File

@@ -217,12 +217,6 @@ resource "aws_route_table" "private" {
var.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]
}
}

#################


+ 2
- 2
versions.tf View File

@@ -1,7 +1,7 @@
terraform {
required_version = ">= 0.12.7, < 0.14"
required_version = ">= 0.12.7"

required_providers {
aws = ">= 2.68, < 4.0"
aws = ">= 2.68"
}
}

Loading…
Cancel
Save