dols3m
dols3m

Reputation: 1975

Elastic Beanstalk deploy hooks: getting user's username

Is there a way to get the username of the AWS user who initiated EB deployment from within a deploy hook?

Upvotes: 0

Views: 48

Answers (1)

matesio
matesio

Reputation: 1604

I believe that's possible with AWS CLI command and apply filters to CloudTrail logs. But it has a few limitations.

Like CloudTrail is not real-time, it updates your logs approximately after 15 minutes which ultimately will a very slow deployment.

Upvotes: 1

Related Questions