Skip to content

Commit 2b7aa8f

Browse files
authored
Fix tfe_agent_pool_allowed_workspaces example using resources that aren't defined
1 parent 6bbcd84 commit 2b7aa8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)