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

Update Terraform providers #1451

Merged
merged 6 commits into from
Apr 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
surajssd marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
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}"