Skip to content

appvia/terraform-null-tagging

Github Actions

Terraform Null Tagging Module

Description

The purpose of this module is for internal use, and use to ensure consistent tagging across all resources. This module is used to inject tags into all resources created by Terraform. The tags are generated based on the input variables provided to the module.

Usage

module "example" {
  source  = "appvia/tagging/null"
  version = "0.0.1"

  environment = "dev"
  git_repo    = "https://github.com/appvia/terraform-null-tagging"
  owner       = "appvia"
  product     = "terraform-null-tagging"
}

Update Documentation

The terraform-docs utility is used to generate this README. Follow the below steps to update:

  1. Make changes to the .terraform-docs.yml file
  2. Fetch the terraform-docs binary (https://terraform-docs.io/user-guide/installation/)
  3. Run terraform-docs markdown table --output-file ${PWD}/README.md --output-mode inject .

Requirements

Name Version
terraform >= 1.0.7

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

Name Description Type Default Required
environment The environment we are deploying the resources string n/a yes
git_repo The git repository to store the terraform code string n/a yes
owner The owner of the product, and injected into all resource tags string n/a yes
product The name of the product to provision resources and inject into all resource tags string n/a yes
application The name of the application to provision resources and inject into all resource tags string null no
application_tier The tier of the application to provision resources and inject into all resource tags string null no
cost_center The cost center of the product, and injected into all resource tags string null no
data_classification The data classification of the product, and injected into all resource tags string null no
project The name of the project to provision resources and inject into all resource tags string null no
provisioner The provisioner of the product, and injected into all resource tags string "Terraform" no
security_classification The security classification of the product, and injected into all resource tags string null no
service The name of the service to provision resources and inject into all resource tags string null no
team The team responsible for the product, and injected into all resource tags string null no

Outputs

Name Description
tags A map of all the tags_inverted generated for resources.

About

Terraform module used to ensure consistency on tagging

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published