github DrFaust92/terraform-provider-bitbucket v2.57.0

one hour ago

Features

  • New resource: bitbucket_pipeline_runner manages 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, timeout and max_retries arguments (BITBUCKET_API_URL, BITBUCKET_TIMEOUT, BITBUCKET_MAX_RETRIES). Defaults are unchanged: https://api.bitbucket.org/, 2m and 5. (#277)
  • New read-only attributes (#279):
    • enforced_signed_commits on bitbucket_repository, bitbucket_project and their data sources;
    • is_personal, is_privacy_enforced, forking_mode and enforced_signed_commits on the bitbucket_workspace data source;
    • fingerprint, expires_on and last_used on bitbucket_ssh_key;
    • added_on, expires_on and last_used on bitbucket_gpg_key.

Bug fixes

  • bitbucket_group, bitbucket_group_membership and the group data sources: a workspace UUID, such as data.bitbucket_workspace.x.id, now works. Before, it failed with 405/403 because the 1.0 groups API needs the workspace slug. Creating groups still needs the account:write scope, which Atlassian API tokens can't be granted; see the bitbucket_group docs. (#280, fixes #258, #235)

Dependencies

  • bitbucket-go-client v0.12.0 (#276). Requests no longer include empty "type":"" fields or zero created_on/updated_on timestamps. 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 pin 2.56.0 meanwhile.

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

Don't miss a new terraform-provider-bitbucket release

NewReleases is sending notifications on new releases.