Skip to content

Commit

Permalink
Update Terraform providers (#312)
Browse files Browse the repository at this point in the history
* Update terraform provider

---------

Co-authored-by: daniele <daniele.pompa@20tab.com>
  • Loading branch information
daniele-20tab and daniele authored Apr 4, 2024
1 parent b36e8f8 commit 1c4518e
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion terraform/gitlab/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ terraform {
required_providers {
gitlab = {
source = "gitlabhq/gitlab"
version = "~> 3.18"
version = "~> 16.10.0"
}
}
}
Expand Down
10 changes: 7 additions & 3 deletions terraform/terraform-cloud/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ terraform {
required_providers {
tfe = {
source = "hashicorp/tfe"
version = "~> 0.37"
version = "~> 0.53"
}
}
}
Expand All @@ -70,12 +70,16 @@ resource "tfe_organization" "main" {

/* Workspaces */

resource "tfe_workspace" "test" {
resource "tfe_workspace" "main" {
for_each = { for i in local.workspaces : i.name => i }

name = each.value.name
description = each.value.description
organization = local.organization.name
execution_mode = "local"
tag_names = each.value.tags
}

resource "tfe_workspace_settings" "main-settings" {
workspace_id = tfe_workspace.main.id
execution_mode = "local"
}
2 changes: 1 addition & 1 deletion terraform/vault/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ terraform {
required_providers {
vault = {
source = "hashicorp/vault"
version = "~>3.11.0"
version = "~> 4.2.0"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ terraform {
required_providers {
digitalocean = {
source = "digitalocean/digitalocean"
version = "~> 2.21"
version = "~> 2.36"
}
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.12"
version = "~> 2.27"
}
random = {
source = "hashicorp/random"
version = "~> 3.3"
version = "~> 3.6"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.12"
version = "~> 2.27"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ terraform {
required_providers {
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.12"
version = "~> 2.27"
}
random = {
source = "hashicorp/random"
version = "~> 3.3"
version = "~> 3.6"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_dirname}}/terraform/other-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ terraform {
required_providers {
kubernetes = {
source = "hashicorp/kubernetes"
version = "~> 2.12"
version = "~> 2.27"
}
random = {
source = "hashicorp/random"
version = "~> 3.3"
version = "~> 3.6"
}
}
}
Expand Down

0 comments on commit 1c4518e

Please sign in to comment.