Hey everyone, is there any way I can make Atlantis...
# atlantis-community
v
Hey everyone, is there any way I can make Atlantis read the user name from bitbucket cloud instead of the UUID? I am trying to create some custom policies based on that information and I could not find a specific configuration that would allow me to see user names instead of the ID:
p
you will need to use a custom workflow and see is any of the ENV varieables we expose for the run command have the user
Copy code
PULL_AUTHOR - Username of the pull request author, ex. acme-user.
d
I think its something in the bitbucket API and how Atlantis pulls in the code
👍 1
but I'm not familiar with the bitbucket provider code
v
I can see the user in the payload which is USER_NAME, which is the one actually running the command, the thing is that bitbucket api is not parsing the name for some reason and I thought it could be something to be set in Atlantis. I will use the UUID for now then. Thanks for the reply!