sparse-intern-71089
09/28/2022, 5:52 PMsteep-toddler-94095
09/28/2022, 6:21 PMArn
property? sometimes the caller is an assumed role instead of an AWS user so wondering if that's why UserId
is blankagreeable-whale-35898
09/28/2022, 6:23 PMUserId
isn't blank - it's a 21-alphanumeric-chars (all upper letters)steep-toddler-94095
09/28/2022, 8:15 PMArn
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 GetUser
function unfortunately only takes a Username, not the canonical UserId, so you might need to use a non-Pulumi AWS SDK to do thisagreeable-whale-35898
09/29/2022, 8:16 AMArn
it is, then 🙂 thanks!