Skip to content

Commit

Permalink
TG-1140 Fix TF Cloud workspace settings Terraform resource
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-20tab authored Dec 13, 2024
1 parent 346b3ca commit 0da4798
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions terraform/terraform-cloud/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ resource "tfe_workspace" "main" {
tag_names = each.value.tags
}

resource "tfe_workspace_settings" "main-settings" {
workspace_id = tfe_workspace.main.id
resource "tfe_workspace_settings" "main" {
for_each = tfe_workspace.main

workspace_id = each.value.id
execution_mode = "local"
}
}

0 comments on commit 0da4798

Please sign in to comment.