From 0ef4ce5ec5e3ddb0ac5507296c95b1268ce9b420 Mon Sep 17 00:00:00 2001 From: Jarrett Spiker Date: Wed, 1 Jun 2022 11:06:28 -0400 Subject: [PATCH] Update changelog with #508 --- CHANGELOG.md | 5 +++++ tfe/data_source_agent_pool.go | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c78187514..57fbf0e5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Unreleased + +ENHANCEMENTS: +* d/agent_pool: Improve efficiency of reading agent pool data when the target organization has more than 20 agent pools ([#508](https://github.com/hashicorp/terraform-provider-tfe/pull/508)) + ## 0.33.0 (July 8th, 2022) FEATURES: diff --git a/tfe/data_source_agent_pool.go b/tfe/data_source_agent_pool.go index 26128c746..2fdeb58d5 100644 --- a/tfe/data_source_agent_pool.go +++ b/tfe/data_source_agent_pool.go @@ -34,7 +34,7 @@ func dataSourceTFEAgentPoolRead(d *schema.ResourceData, meta interface{}) error // Create an options struct. // to reduce the number of pages returned, search based on the name. TFE instances which - // do not support agent pool seach will just ignore the query parameter + // do not support agent pool search will just ignore the query parameter options := tfe.AgentPoolListOptions{ Query: name, }