Skip to content

jortfal/semantic-release-terraform-config

Repository files navigation

@jortfal/semantic-release-terraform-config

semantic-release shareable config to create release of Terraform Modules

GitHub release (latest by date) GitHub Release Date GitHub license Maintenance Maintainer Build Status npm latest version

Plugins

This shareable configuration use the following plugins:

Install

$ npm install --save-dev semantic-release @jortfal/semantic-release-terraform-config

Usage

The shareable config can be configured in the semantic-release configuration file:

{
  "extends": "@jortfal/semantic-release-terraform-config"
}

Configuration

See each plugin documentation for required installation and configuration steps.

Overwritten options

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.