semantic-release shareable config to create release of Terraform Modules
This shareable configuration use the following plugins:
@semantic-release/commit-analyzer
@semantic-release/release-notes-generator
@semantic-release/github
@semantic-release/changelog
@google/semantic-release-replace-plugin
@semantic-release/git
$ npm install --save-dev semantic-release @jortfal/semantic-release-terraform-config
The shareable config can be configured in the semantic-release configuration file:
{
"extends": "@jortfal/semantic-release-terraform-config"
}
See each plugin documentation for required installation and configuration steps.
This following options are set by this shareable config:
Option | Value |
---|---|
replacements |
{"files": ["locals.tf"], "from": ""Terraform Module Version" = ".*"", "to": ""Terraform Module Version" = "${nextRelease.version}""} |
assets |
["locals.tf", "CHANGELOG.md"] |
message |
chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes} |
NOTE: other options use their default values. See each plugin documentation for available options.