v0.11-alpha2
Pre-releaseBreaking 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.
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 alpha, and will be migrated to the Framework before final release. Thanks @naitmare01!
Docs Generation
Automatic documentation generation is being introduced, rendering templates stored in the templates/
folder into the docs/
folder. Note that authors will not need to write any documentation for new resources -- a template will automatically be rendered from the resource's schema.
As items are migrated from SDKv2 to the Plugin Framework, their documentation will be migrated as well. Until that time, all SDKv2 items have static docs stored in the templates/
folder.
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/
.
Additionally the terraform test framework was configured, expanding the available ways that integration testing can be performed. This framework requires Terraform 1.6+ for contributors to run.
What's Changed
- Add data source and resource Jenkins Views by @naitmare01 in #148
- Set up terraform test on integration tests by @taiidani in #161
- Bump the combined group with 5 updates by @dependabot in #158
- Bump Go to 1.20 by @taiidani in #162
- Bump the gha group with 3 updates by @dependabot in #163
- Migrate Vault AppRole to Framework by @taiidani in #165
- Reduce code duplication in Framework by @taiidani in #167
- Bump the gomod group with 1 update by @dependabot in #164
- Bump golang.org/x/net from 0.13.0 to 0.17.0 by @dependabot in #166
- Migrate Azure Service Principal to Framework by @taiidani in #168
Full Changelog: v0.11-alpha1...v0.11-alpha2