Skip to content

Commit

Permalink
TG-1140 Fix TF Cloud workspace settings Terraform resource (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
filippo-20tab authored Dec 11, 2024
1 parent 62ef3f6 commit 628c6a5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 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 628c6a5

Please sign in to comment.