https://pulumi.com logo
#aws
Title
# aws
m

millions-pharmacist-626

01/02/2023, 5:55 PM
Hey folks, is it possible to automatically tag created resources when running
pulumi up
, instead of specifying tags manually for each resource? For example, in my stack I'm creating an EC2 instance, an elastic ip address and a security group. For those 3 resources, I add a tag such as
createdBy: Pulumi
. However, the underlying Network Interface that gets automatically generated isn't directly defined as code, thus it remains tagless. I was wondering if it's possible to: 1 - specify a set of tags that gets automatically applied to all resources created by pulumi 2 - use the above set to also tag the resources not directly defined as code, but still created during the process (like the network interface mentioned above)
f

fierce-ability-58936

01/10/2023, 6:49 PM
Not sure about the network interface, maybe AWS will propagate it from parent resources?
m

millions-pharmacist-626

01/12/2023, 9:44 AM
Awesome @fierce-ability-58936, thanks for the headsup! I had no idea this documentation page existed, it's exactly what I needed 🙂