Skip to content

Commit

Permalink
Update terraform provider
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele committed Apr 4, 2024
1 parent 5a5ee81 commit be83f48
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 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

0 comments on commit be83f48

Please sign in to comment.