Skip to content

Commit

Permalink
TG-1140 Fix TF Cloud workspace settings (#321)
Browse files Browse the repository at this point in the history
Co-authored-by: Filippo Morelli <[email protected]>
  • Loading branch information
daniele-20tab and filippo-20tab authored Dec 13, 2024
1 parent 774add6 commit 1ed8a7d
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-settings" {
for_each = tfe_workspace.main

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

0 comments on commit 1ed8a7d

Please sign in to comment.