agreeable-whale-3589809/28/2022, 5:52 PM
command, namely the CLI identity..) I found
, but couldn't find the actual user's name. I want to add a transformation that adds a
tag with the executor name. Any idea how to do so in C# and AWS?
steep-toddler-9409509/28/2022, 6:21 PM
property? sometimes the caller is an assumed role instead of an AWS user so wondering if that's why
agreeable-whale-3589809/28/2022, 6:23 PM
isn't blank - it's a 21-alphanumeric-chars (all upper letters)
steep-toddler-9409509/28/2022, 8:15 PM
assuming that has the user's Arn? If not you'll need to do a lookup of the AWS User using the UserId and get the name that way. Pulumi's
function unfortunately only takes a Username, not the canonical UserId, so you might need to use a non-Pulumi AWS SDK to do this
agreeable-whale-3589809/29/2022, 8:16 AM
it is, then 🙂 thanks!