diff --git a/CHANGELOG.md b/CHANGELOG.md index 92f3b6219..1e3fe86f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Unreleased ## Features +* Adds `AgentsCeilingOverride` and `RunsCeilingOverride` fields in `AdminOrganization` and `AdminOrganizationUpdateOptions` structs * Adds `AggregatedCommitStatusEnabled` field to `Organization` by @mjyocca [#829](https://github.com/hashicorp/go-tfe/pull/829) # v1.42.0 diff --git a/admin_organization.go b/admin_organization.go index ccaeffd27..67ab0a131 100644 --- a/admin_organization.go +++ b/admin_organization.go @@ -55,7 +55,8 @@ type AdminOrganization struct { TerraformBuildWorkerPlanTimeout string `jsonapi:"attr,terraform-build-worker-plan-timeout"` TerraformWorkerSudoEnabled bool `jsonapi:"attr,terraform-worker-sudo-enabled"` WorkspaceLimit *int `jsonapi:"attr,workspace-limit"` - + AgentsCeilingOverride *int `jsonapi:"attr,agents-ceiling-override,omitempty"` + RunsCeilingOverride *int `jsonapi:"attr,runs-ceiling-override,omitempty"` // Relations Owners []*User `jsonapi:"relation,owners"` } @@ -71,6 +72,8 @@ type AdminOrganizationUpdateOptions struct { TerraformBuildWorkerPlanTimeout *string `jsonapi:"attr,terraform-build-worker-plan-timeout,omitempty"` TerraformWorkerSudoEnabled bool `jsonapi:"attr,terraform-worker-sudo-enabled,omitempty"` WorkspaceLimit *int `jsonapi:"attr,workspace-limit,omitempty"` + AgentsCeilingOverride *int `jsonapi:"attr,agents-ceiling-override,omitempty"` + RunsCeilingOverride *int `jsonapi:"attr,runs-ceiling-override,omitempty"` } // AdminOrganizationList represents a list of organizations via Admin API.