v0.7.0
Breaking Changes
Internal ID Structure #21
The internal id attribute of Jobs and Credentials has been changed to closer align with their canonical URLs within Jenkins. When updating to this version you may need to terraform state rm
and terraform state import
any existing Jobs, Folders, or Credentials in your state files in order to update their Ids.
Explicit Folder Property #21
This changes how folders are specified in Jobs and Folders. There is now an explicit folder
property where you can specify the folder name, or in the case of folders the parent folder(s) name. A validation has been added to the name
property that will guide users away from using it for folder structures. RECOMMENDED: Use the id
output from your jenkins_folder resource or data source as the input to the folder
property.
Folder Resource Structured #24
The folder
resource has been converted into a "structured" type, in that it now directly parses the XML of the Jenkins folder job and converts it into properties. The impact of this is that the template
property is no longer customizable, and the resource is now very opinionated about what it supports. If you are using a feature of Folders that previously worked with the template
property and is now not working, please file an issue.
As a workaround, you may also specify Jenkins folders using the jenkins_job
resource which retains the ability to directly specify a template
.
Additional Changes
- #24 Added a data source for
jenkins_folder
. - #28 Added data sources for
jenkins_job
,jenkins_credential_username
, andjenkins_credential_vault_approle
. - #24 Folders are now importable.
- #25 Added support for Hashicorp Vault AppRole credentials with
jenkins_credential_vault_approle
(thanks @mishak87!) - #36 Added support for Secret Text credentials with
jenkins_credential_secret_text
(thanks @jaceq!) - #40 Added support for Secret File credentials with
jenkins_credential_secret_file
(thanks @jaceq!) - #46 Added support for SSH credentials with
jenkins_credential_ssh
(thanks @jaceq!) - #17 Updated the
makefile
for Terraform 0.14 with instructions on how to build a binary locally for testing. - Added automation for releasing new versions to the Terraform Registry.
- Added Dependabot automation for keeping Go dependencies up to date.
See https://github.com/taiidani/terraform-provider-jenkins/milestone/4?closed=1 for contributing issues and pull requests.