Skip to content

Commit f9e2e93

Browse files
AleksaCsebasslash
authored andcommitted
Fix tfe_agent_pool_allowed_workspaces example using resources that aren't defined
1 parent 8c5dacf commit f9e2e93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/r/agent_pool_allowed_workspaces.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ resource "tfe_agent_pool" "test-agent-pool" {
3838
// Ensure permissions are assigned second
3939
resource "tfe_agent_pool_allowed_workspaces" "allowed" {
4040
agent_pool_id = tfe_agent_pool.test-agent-pool.id
41-
allowed_workspace_ids = [for key, value in tfe_workspace.test.*.id : value]
41+
allowed_workspace_ids = [tfe_workspace.test-workspace.id]
4242
}
4343
4444
// Lastly, ensure the workspace agent execution is assigned last by

0 commit comments

Comments
 (0)