Prerequisites for tags
If you create a service by using a template that includes tags, then the tags are sent to all the deployed instances of the service. Each of the deployed instances in turn passes the tags to the Terraform template. Ensure that your template is capable of consuming tags as Managed services only passes the tags to the Terraform template.
You can use the Managed services to consume the tags.
To use this module, import it and then use it.
For example, if you have packaged the module inline, do the following:
module "camtags" {
source = "./Modules/camtags"
}
Then the tags can be accessed as a map variable:
${module.camtags.tagsmap}
or can be accessed as a list:
${module.camtags.tagslist}
For a sample usage of tags, see the git repository.
For more information about tags module, see Defining the structure of Managed services template.