In this repository 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
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.
Name | Version |
---|---|
terraform | >= 1.3.0 |
azurerm | >= 3.15.0 |
local | >= 2.2.0 |
Name | Version |
---|---|
azurerm | 3.38.0 |
local | 2.2.3 |
No modules.
Name | Type |
---|---|
azurerm_kubernetes_cluster.this | resource |
local_file.kube_config | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
kube_params | AKS params | map(object({ |
n/a | yes |
tags | Global tags to apply to the resources | map(string) |
{} |
no |
Name | Description |
---|---|
kube_config | n/a |
kube_config_path | n/a |
kube_params | n/a |