Terraform version : 1.8.1
AWS version : aws-cli/2.0.0 Python/3.7.5 Windows/10 botocore/2.0.0dev4
First post !
I’m in the process of writing a terraform module capturing known/standard AWS tag keys and values for an EC2 instance.
Apart from coding for the known company tag keys (ie name, dept, costcentre, environment etc) I need to provision for custom tags .. tags specific to that EC2 or team developing the pipeline
At this point, I wouldn’t know what the tag key would be .. how would I code for say 10 additional custom tag (placeholder) keys ?
Example
for 1 EC2 deployment, the tag key placeholder 1 could be ‘Function’ but for another, the same tag key placeholder 1 could be used to capture ‘Project Name’
Hopefully this makes sense .. would be interested in your response
Thanks
David