https://pulumi.com logo
#general
Title
# general
d

damp-honey-93158

04/19/2022, 12:44 PM
I've seen how tags can be applied to a single resource - how would I apply an "owner" or "company" tag to every resource in the entire project? I would prefer not to specific a tags dict on every single resource. I'm under the impression this would help me work out detailed resource ownership / usage within Azure cost analysis (I could be wrong).
m

millions-furniture-75402

04/19/2022, 1:12 PM
e

echoing-dinner-19531

04/19/2022, 2:14 PM
d

damp-honey-93158

04/21/2022, 11:12 AM
I saw transformations, is there a nicer way to drill down into a nested set of immutable objects beyond using TryGetValue? I need to get to the "image" tag inside a k8s configfile which is naturally buried a few levels deep.
I tried the code in the sample - there is one thing stopping me for now, and that's the IsTaggable function - which package would i expect to find that please?
m

millions-furniture-75402

04/21/2022, 12:57 PM
ā€¢ Reference to "full code" at the bottom of the post: https://github.com/joeduffy/aws-tags-example ā€¢ Specifically to your question: https://github.com/joeduffy/aws-tags-example/blob/master/autotag-ts/taggable.ts
e

echoing-dinner-19531

04/21/2022, 12:57 PM
is there a nicer way to drill down into a nested set of immutable objects beyond using TryGetValue
dynamic
maybe?
3 Views