Hi all, Has anyone implemented an "isTaggable" fu...
# general
b
Hi all, Has anyone implemented an "isTaggable" function for Go? I see in this article https://www.pulumi.com/blog/automatically-enforcing-aws-resource-tagging-policies/ that it exists for various languages, just not in Go... If there isn't any, how is anyone here globally tagging all resources in a stack with Go?
l
Assuming that you want this in order to set common tags for all resources: In the AWS Classic and Native providers, you can use the provider
defaultTags
property.
b
thanks, that is way better and simpler. I will wrap the provider creation in a separate function then, to avoid any redundancy.