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

Commit

Permalink
Merge pull request #1451 from kinvolk/meyskens/component-update
Browse files Browse the repository at this point in the history
Update Terraform providers
  • Loading branch information
surajssd authored Apr 5, 2021
2 parents 85613ef + f824d1d commit 6db76b4
Show file tree
Hide file tree
Showing 16 changed files with 50 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "3.12.0"
version = "3.33.0"
}
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
null = {
source = "hashicorp/null"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "3.12.0"
version = "3.33.0"
}
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
template = {
source = "hashicorp/template"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
azurerm = {
source = "hashicorp/azurerm"
version = "2.41.0"
version = "2.52.0"
}
null = {
source = "hashicorp/null"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
azurerm = {
source = "hashicorp/azurerm"
version = "2.41.0"
version = "2.52.0"
}
template = {
source = "hashicorp/template"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
null = {
source = "hashicorp/null"
Expand Down
4 changes: 2 additions & 2 deletions assets/terraform-modules/bootkube/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ terraform {
required_providers {
local = {
source = "hashicorp/local"
version = "2.0.0"
version = "2.1.0"
}
template = {
source = "hashicorp/template"
version = "2.2.0"
}
tls = {
source = "hashicorp/tls"
version = "2.2.0"
version = "3.1.0"
}
}
}
2 changes: 1 addition & 1 deletion assets/terraform-modules/controller/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
template = {
source = "hashicorp/template"
Expand Down
2 changes: 1 addition & 1 deletion assets/terraform-modules/dns/route53/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "3.12.0"
version = "3.33.0"
}
}
}
2 changes: 1 addition & 1 deletion assets/terraform-modules/node/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
random = {
source = "hashicorp/random"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
local = {
source = "hashicorp/local"
version = "2.0.0"
version = "2.1.0"
}
null = {
source = "hashicorp/null"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
packet = {
source = "packethost/packet"
Expand Down
2 changes: 1 addition & 1 deletion assets/terraform-modules/tinkerbell-sandbox/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
}
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
}
}
2 changes: 1 addition & 1 deletion assets/terraform-modules/worker/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ terraform {
required_providers {
ct = {
source = "poseidon/ct"
version = "0.7.1"
version = "0.8.0"
}
random = {
source = "hashicorp/random"
Expand Down
26 changes: 13 additions & 13 deletions pkg/assets/generated_assets.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pkg/platform/aks/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "2.41.0"
version = "2.52.0"
}
local = {
source = "hashicorp/local"
version = "2.0.0"
version = "2.1.0"
}
{{- if .ApplicationName }}
azuread = {
Expand Down
16 changes: 16 additions & 0 deletions scripts/find-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,3 +286,19 @@ current_version=$(grep -A1 'poseidon/matchbox' pkg/platform/baremetal/template.g

get_latest_release poseidon/terraform-provider-matchbox
printf "${format}" "Matchbox" "${current_version}" "${version}"

###########################
# TLS Provider
cd "${workdir}"
current_version=$(grep -A1 'hashicorp/tls' assets/terraform-modules/bootkube/versions.tf | tail -1 | cut -d"\"" -f2 | sed 's|~>||g' | sed 's| ||g')

get_latest_release hashicorp/terraform-provider-tls
printf "${format}" "TLS" "${current_version}" "${version}"

###########################
# Template Provider
cd "${workdir}"
current_version=$(grep -A1 'hashicorp/template' assets/terraform-modules/bootkube/versions.tf | tail -1 | cut -d"\"" -f2 | sed 's|~>||g' | sed 's| ||g')

get_latest_release hashicorp/terraform-provider-template
printf "${format}" "Template" "${current_version}" "${version}"

0 comments on commit 6db76b4

Please sign in to comment.