Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Update to Terraform 0.13
Browse files Browse the repository at this point in the history
Closes #788

Signed-off-by: Mateusz Gozdek <mateusz@kinvolk.io>
  • Loading branch information
invidian committed Sep 28, 2020
1 parent 8468ead commit bdc4e1a
Show file tree
Hide file tree
Showing 19 changed files with 250 additions and 157 deletions.
27 changes: 21 additions & 6 deletions assets/terraform-modules/aws/flatcar-linux/kubernetes/versions.tf
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
aws = "3.3.0"
ct = "0.6.1"
null = "2.1.2"
template = "2.1.2"
random = "2.3.0"
aws = {
source = "hashicorp/aws"
version = "3.3.0"
}
ct = {
source = "poseidon/ct"
version = "0.6.1"
}
null = {
source = "hashicorp/null"
version = "2.1.2"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
random = {
source = "hashicorp/random"
version = "2.3.0"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
aws = "3.3.0"
ct = "0.6.1"
template = "2.1.2"
random = "2.3.0"
aws = {
source = "hashicorp/aws"
version = "3.3.0"
}
ct = {
source = "poseidon/ct"
version = "0.6.1"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
random = {
source = "hashicorp/random"
version = "2.3.0"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
ct = "0.6.0"
azurerm = "1.35.0"
null = "2.1.2"
template = "2.1.2"
ct = {
source = "poseidon/ct"
version = "0.6.0"
}
azurerm = {
source = "hashicorp/azurerm"
version = "1.35.0"
}
null = {
source = "hashicorp/null"
version = "2.1.2"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
ct = "0.6.0"
azurerm = "1.35.0"
template = "2.1.2"
ct = {
source = "poseidon/ct"
version = "0.6.0"
}
azurerm = {
source = "hashicorp/azurerm"
version = "1.35.0"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,28 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
ct = "0.6.1"
null = "2.1.2"
template = "2.1.2"
matchbox = "0.4.1"
random = "2.3.0"
ct = {
source = "poseidon/ct"
version = "0.6.1"
}
null = {
source = "hashicorp/null"
version = "2.1.2"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
matchbox = {
source = "poseidon/matchbox"
version = "0.4.1"
}
random = {
source = "hashicorp/random"
version = "2.3.0"
}
}
}
17 changes: 13 additions & 4 deletions assets/terraform-modules/bootkube/versions.tf
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12"
required_version = ">= 0.13"
required_providers {
local = "1.4.0"
template = "2.1.2"
tls = "2.2.0"
local = {
source = "hashicorp/local"
version = "1.4.0"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
tls = {
source = "hashicorp/tls"
version = "2.2.0"
}
}
}
7 changes: 5 additions & 2 deletions assets/terraform-modules/dns/cloudflare/versions.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
cloudflare = "2.9.0"
cloudflare = {
source = "cloudflare/cloudflare"
version = "2.9.0"
}
}
}
7 changes: 5 additions & 2 deletions assets/terraform-modules/dns/route53/versions.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
aws = "3.3.0"
aws = {
source = "hashicorp/aws"
version = "3.3.0"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
google = "2.16.0"
null = "2.1.2"
template = "2.1.2"
google = {
source = "hashicorp/google"
version = "2.16.0"
}
null = {
source = "hashicorp/null"
version = "2.1.2"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
ct = {
source = "poseidon/ct"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
google = "2.16.0"
template = "2.1.2"
google = {
source = "hashicorp/google"
version = "2.16.0"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
ct = {
source = "poseidon/ct"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,32 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
ct = "0.6.1"
local = "1.4.0"
null = "2.1.2"
template = "2.1.2"
packet = "3.0.0"
random = "2.3.0"
ct = {
source = "poseidon/ct"
version = "0.6.1"
}
local = {
source = "hashicorp/local"
version = "1.4.0"
}
null = {
source = "hashicorp/null"
version = "2.1.2"
}
template = {
source = "hashicorp/template"
version = "2.1.2"
}
packet = {
source = "packethost/packet"
version = "3.0.1"
}
random = {
source = "hashicorp/random"
version = "2.3.0"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
# Terraform version and plugin versions

terraform {
required_version = ">= 0.12.0"
required_version = ">= 0.13"

required_providers {
ct = "0.6.1"
packet = "3.0.0"
random = "2.3.0"
ct = {
source = "poseidon/ct"
version = "0.6.1"
}
packet = {
source = "packethost/packet"
version = "3.0.1"
}
random = {
source = "hashicorp/random"
version = "2.3.0"
}
}
}
2 changes: 2 additions & 0 deletions ci/set-terraform-version
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/sh
ln -fs ~/.local/bin/terraform13 ~/.local/bin/terraform
Loading

0 comments on commit bdc4e1a

Please sign in to comment.