hundreds-egg-46465
11/09/2020, 4:08 AMisTaggable
function, are you expected to make it yourself or is it provided in some library, its a bit unclear to me sorry https://www.pulumi.com/blog/automatically-enforcing-aws-resource-tagging-policies/little-cartoon-10569
11/09/2020, 4:15 AMcool-fireman-90027
11/09/2020, 1:18 PMregisterAutoTags
https://github.com/joeduffy/aws-tags-example/blob/master/autotag-ts/index.ts#L3-L11
This is imported from here:
https://github.com/joeduffy/aws-tags-example/blob/4658142a68b19510bd1b1af8d15819e449302eea/autotag-ts/autotag.ts#L8
and it imports isTaggable
from here:
https://github.com/joeduffy/aws-tags-example/blob/4658142a68b19510bd1b1af8d15819e449302eea/autotag-ts/autotag.ts#L2
and here is the definition of it
https://github.com/joeduffy/aws-tags-example/blob/4658142a68b19510bd1b1af8d15819e449302eea/autotag-ts/taggable.ts#L4
The code for isTaggable
function is here: https://github.com/joeduffy/aws-tags-example/blob/master/autotag-ts/taggable.ts#L4
The resources that are listed as taggableResourceTypes
are here:
https://github.com/joeduffy/aws-tags-example/blob/master/autotag-ts/taggable.ts#L9