-
-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from Terraform v0.12.x to v0.13.x
* Recommend Terraform v0.13.x * Support automatic install of poseidon's provider plugins * Update tutorial docs for Terraform v0.13.x * Add migration guide for Terraform v0.13.x (best-effort) * Require Terraform v0.12.26+ (migration compatibility) * Require `terraform-provider-ct` v0.6.1 * Require `terraform-provider-matchbox` v0.4.1 * Require `terraform-provider-digitalocean` v1.20+ Related: * https://www.hashicorp.com/blog/announcing-hashicorp-terraform-0-13/ * https://www.terraform.io/upgrade-guides/0-13.html * https://registry.terraform.io/providers/poseidon/ct/latest * https://registry.terraform.io/providers/poseidon/matchbox/latest
- Loading branch information
Showing
39 changed files
with
421 additions
and
212 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
aws = ">= 2.23, <= 4.0" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
aws = ">= 2.23, <= 4.0" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
aws = ">= 2.23, <= 4.0" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
aws = ">= 2.23, <= 4.0" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
azurerm = "~> 2.8" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
azurerm = "~> 2.8" | ||
template = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,16 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
azurerm = "~> 2.8" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = ">= 0.12" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
azurerm = "~> 2.8" | ||
template = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
matchbox = "~> 0.3" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
|
||
matchbox = { | ||
source = "poseidon/matchbox" | ||
version = "~> 0.4.1" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,19 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
matchbox = "~> 0.3" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
|
||
matchbox = { | ||
source = "poseidon/matchbox" | ||
version = "~> 0.4.1" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
digitalocean = "~> 1.16" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
|
||
digitalocean = { | ||
source = "digitalocean/digitalocean" | ||
version = "~> 1.20" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
# Terraform version and plugin versions | ||
|
||
terraform { | ||
required_version = "~> 0.12.6" | ||
required_version = ">= 0.12.26, < 0.14.0" | ||
required_providers { | ||
digitalocean = "~> 1.16" | ||
ct = "~> 0.4" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
template = "~> 2.1" | ||
null = "~> 2.1" | ||
|
||
ct = { | ||
source = "poseidon/ct" | ||
version = "~> 0.6.1" | ||
} | ||
|
||
digitalocean = { | ||
source = "digitalocean/digitalocean" | ||
version = "~> 1.20" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.