Adds git repo and branch automatically
Usage: Call the module and set other default tags you need
module "autotags" {
source = "[email protected]:bikochan/autotags.git?ref=1.0"
}
then inside your resources or modules tags parameter block use the tags output
resource "aws_instance" "foo" {
(snip...)
tags = "${module.autotags.tags}"
}
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| extra_tags | Extra tags and overrides | map | <map> |
no |
| Name | Description |
|---|---|
| tags | Generated tags and other defaults |