From e7e5f9a3c8ee2fad2bef05219adfdb584870d637 Mon Sep 17 00:00:00 2001 From: Jarrett Spiker Date: Wed, 1 Jun 2022 10:26:10 -0400 Subject: [PATCH] Update changelog to reflect 1.2.0 release --- CHANGELOG.md | 7 ++++++- agent_pool.go | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fae653e5a..b93899da9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ -# v1.2.0 (Unreleased) +# v1.3.0 (Unreleased) + +## Enhancements +* Add `Query` param field to `AgentPoolListOptions` to allow searching based on agent pool name, by @JarrettSpiker [#417](https://github.com/hashicorp/go-tfe/pull/417) + +# v1.2.0 ## Enhancements * Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state by @brandonc [#370](https://github.com/hashicorp/go-tfe/pull/370) diff --git a/agent_pool.go b/agent_pool.go index e8cbd6586..5b9c2d0aa 100644 --- a/agent_pool.go +++ b/agent_pool.go @@ -71,6 +71,7 @@ type AgentPoolListOptions struct { // https://www.terraform.io/cloud-docs/api-docs/agents#available-related-resources Include []AgentPoolIncludeOpt `url:"include,omitempty"` + // Optional: A search query string used to filter agent pool. Agent pools are searchable by name Query string `url:"q,omitempty"` }