Skip to content

flavius-dinu/terraform-helm-release

Repository files navigation

Terraform Helm Release

Workflows

In this template there are 3 github actions workflows:

  • auto_tag.yaml
    • this workflow will run whenever a merge to the main branch occurs
    • it will by default tag your repository with a Patch bump (version format is: vMajor.Minor.Patch)
    • if you want to bump the major or the minor version of the repository, you will simply have to start your commit with #major or #minor
  • pre_commit.yaml
    • this workflow will run on every push in order to check: tflint, tf-docs, validate, fmt, end-of-file fixer and trailing whitspace fixes and whatever else you decide to add to the .pre-commit-config.yaml file
  • terraform.yaml
    • this workflow can be run manually based on an operation you provide (plan, apply, destroy)
    • it is recommended to use remote state in order to take advantage of this

Installing pre-commit locally

In order to make sure that you are writing code that respects industry standards, you will need to install:

After you install all of these, you can go to the root directory of the repository and run:

pre-commit run --all-files

This will fix all the problems related to the hooks mentioned above.

Module details

Requirements

Name Version
terraform >= 1.3.0
helm >= 2.6.0

Providers

Name Version
helm 2.6.0

Modules

No modules.

Resources

Name Type
helm_release.this resource

Inputs

Name Description Type Default Required
helm Helm release parameters
map(object({
name = string
chart = string
repository = optional(string, null)
version = optional(string, null)
namespace = optional(string, null)
create_namespace = optional(bool, false)
values = optional(list(string), [])
set = optional(list(object({
name = string
value = string
type = optional(string, "auto")
})), [])
set_sensitive = optional(list(object({
name = string
value = string
type = optional(string, "auto")
})), [])
}))
{} no

Outputs

Name Description
helm_metadata outputs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages