github taiidani/terraform-provider-jenkins v0.11-rc1

latest release: v0.11.0
5 months ago

Breaking Changes

This release begins the provider migration from SDKv2 to the new Plugin Framework. As part of this, the minimum Terraform requirement has increased to 1.0+. Please update your tooling accordingly before upgrading to this version.

The deprecated parameters property on the jenkins_job resource has been removed. Please migrate your TF to use Terraform's native templatefile function instead.

Warning

This is a large refactoring of the codebase. Instability and migration issues may be encountered. Please report them as you encounter them, and feel free to contribute a Pull Request!

Framework

This release introduces the Terraform Plugin Framework. This framework dramatically changes how both data sources and resources are written. The following items have been migrated already:

  • credential_username Data Source
  • credential_vault_approle Data Source
  • folder Data Source
  • job Data Source
  • view Data Source
  • credential_azure_service_principal Resource
  • credential_secret_file Resource
  • credential_secret_text Resource
  • credential_ssh Resource
  • credential_username Resource
  • credential_vault_approle Resource
  • folder Resource
  • job Resource
  • view Resource

Additional items will be migrated as confidence increases in the new framework.

New Resources

The jenkins_view data source and resource were added in this release.

The jenkins_aws_credentials data source and resource were added in this release.

Docs Generation

Automatic documentation generation is being introduced, rendering templates stored in the resource definitions and templates/ folder into the docs/ folder. Authors will not need to write any documentation for new resources -- a template will automatically be rendered from the schema -- but will now need to run make generate before PRing their changes.

Example Installation Refactored

The example Docker Compose installation provided for developers encountered a name conflict with the documentation generation (which expects an examples/ folder) and was renamed from example/ to integration/.

The terraform test framework was configured into the new integration/ folder, expanding the available ways that integration testing can be performed. This framework requires Terraform 1.6+ for contributors to run.

What's Changed

  • Bump the gha group across 1 directory with 2 updates by @dependabot[bot] in #224
  • Adding jenkins_credential_aws resource and datasource by @sharon-raphael in #240
  • Introduce mise for standardized tool installs by @taiidani in #241
  • Bumping Go dependencies by @taiidani in #242
  • Bump github.com/hashicorp/terraform-plugin-testing from 1.6.0 to 1.13.3 in the gomod group across 1 directory by @dependabot[bot] in #244
  • Bump the integration group across 1 directory with 2 updates by @dependabot[bot] in #236
  • Bump github.com/hashicorp/terraform-plugin-docs from 0.18.0 to 0.19.4 in /tools in the tools group across 1 directory by @dependabot[bot] in #223
  • Bump the gha group across 1 directory with 3 updates by @dependabot[bot] in #243

New Contributors

Full Changelog: v0.11-alpha3...v0.11-rc1

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

NewReleases is sending notifications on new releases.