tags
4ops/tags/null
Terraform Module
HCL
NULL
Simple terraform module for tags management
Install
module "tags" {
source = "4ops/tags/null"
version = "1.0.0"
}
plain text: /constructs/tfmod-4ops-tags-null/install.txt
README
Tags Usage ``terraform module instance_tags { source = "4ops/tags/null" version = "1.0.0" name = "my-server-name" testing = "yes" } data aws_ami ubuntu { most_recent = true filter { name = "name" values = ["ubuntu/images/hvm-ssd/ubuntu-trusty-14.04-amd64-server-*"] } filter { name = "virtualization-type" values = ["hvm"] } owners = ["099720109477"] # Canonical } resource aws_instance some_server { ami = data.aws_ami.ubuntu.id instance_type = "t2.micro" tags = module.instance_tags.tags # tags = { # "Name" = "my-server-name" # "Testing" = "yes" # } } ``
Inputs (31)
| Name | Type | Description | Default |
|---|---|---|---|
| type | string | "" | |
| critical | string | "" | |
| public | string | "" | |
| production | string | "" | |
| role | string | "" | |
| az | string | "" | |
| group | string | "" | |
| tier | string | "" | |
| owner | string | "" | |
| terraform | string | "" | |
| endpoint | string | "" | |
| environment | string | "" | |
| service | string | "" | |
| testing | string | "" | |
| tags | map(any) | {} | |
| contact | string | "" | |
| domain | string | "" | |
| template | string | "" | |
| component | string | "" | |
| private | string | "" |
Outputs (31)
tierversionserviceterraformcontactdefaultdescriptionkubernetes_clustermanaged_byprofiletagscriticalmoduleownerprivatetemplateazenvironmentgrouppublictypeendpointnameroleproductionapplicationclustercomponentdomainrelease… and 1 more outputs
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud NULL
★ Stars0
Forks0
Total downloads1.1k
Inputs31
Outputs31
LicenseMIT
Namespace4ops
Updated