Features
- New resource:
bitbucket_pipeline_runnermanages a self-hosted Pipelines runner for a workspace or a repository. It exports the runner's OAuth credentials; the client secret (sensitive) is only returned when the runner is created. (#278) - Provider: new
api_url,timeoutandmax_retriesarguments (BITBUCKET_API_URL,BITBUCKET_TIMEOUT,BITBUCKET_MAX_RETRIES). Defaults are unchanged:https://api.bitbucket.org/,2mand5. (#277) - New read-only attributes (#279):
enforced_signed_commitsonbitbucket_repository,bitbucket_projectand their data sources;is_personal,is_privacy_enforced,forking_modeandenforced_signed_commitson thebitbucket_workspacedata source;fingerprint,expires_onandlast_usedonbitbucket_ssh_key;added_on,expires_onandlast_usedonbitbucket_gpg_key.
Bug fixes
bitbucket_group,bitbucket_group_membershipand the group data sources: a workspace UUID, such asdata.bitbucket_workspace.x.id, now works. Before, it failed with405/403because the 1.0 groups API needs the workspace slug. Creating groups still needs theaccount:writescope, which Atlassian API tokens can't be granted; see thebitbucket_groupdocs. (#280, fixes #258, #235)
Dependencies
- bitbucket-go-client v0.12.0 (#276). Requests no longer include empty
"type":""fields or zerocreated_on/updated_ontimestamps. This applies to every create and update that goes through the generated client. If you see a new API error after upgrading, please open an issue; you can pin2.56.0meanwhile.
Maintenance
- CI now builds the provider and runs the unit tests, which run Terraform against a fake Bitbucket API. Before, CI only linted.
Full changelog: v2.56.0...v2.57.0