Skip to content

Terraform Module to define a consistent naming convention built by namespaces, stages, names and other attributes.

License

Notifications You must be signed in to change notification settings

Infrastrukturait/terraform-null-tagger

Repository files navigation

Terraform tagger module

WeSupportUkraine

Idea

it is a terraform module that was created to maintain consistent names and tags for resources in our organization.

We really believe and love Open Source, We provide this module under GNU General Public License v3 license, feel free to using it.

Usage

It's recommended to use one tagger module for every unique resource of a given resource type. For example, if you have 10 instances, there should be 10 different labels. However, if you have multiple different kinds of resources (e.g. instances, security groups, file systems, and elastic ips), then they can all share the same label assuming they are logically related.

License

License: GPL v3

GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

See LICENSE.md for full details.

Authors

Documentation

Requirements

Name Version
terraform >= 0.14

Providers

No providers.

Modules

No modules.

Resources

No resources.

Inputs

Name Description Type Default Required
description Description or purpose for resource string "" no
enabled Set to false to prevent the module from creating any resources. bool true no
environment Resource environment. Usually used to indicate role, e.g. prod, staging, source, build, test, deploy, release string "" no
extra_tags Additional tags for resources. You can put extra tags with other helpful information like allowed maintenance windows, backup policy or owner contact map(string) {} no
name Resource identificator, e.g. homepage, nat-instance, webserver, dbserver string "" no

Outputs

Name Description
description n/a
environment n/a
name n/a
tags n/a

About

Terraform Module to define a consistent naming convention built by namespaces, stages, names and other attributes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages