Join Slack
Powered by
Hi all, Has anyone implemented an "isTaggable" fu...
# general
b
brash-waitress-49970
09/19/2023, 2:51 PM
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
little-cartoon-10569
09/19/2023, 8:11 PM
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
brash-waitress-49970
09/20/2023, 6:48 AM
thanks, that is way better and simpler. I will wrap the provider creation in a separate function then, to avoid any redundancy.
Open in Slack
Previous
Next