serverless-plugin-git-variables
serverless-plugin-git-variables copied to clipboard
GIT_USER and GIT_EMAIL are not exported by default
This should be very useful feature to know who have something deployed for audit reasons.
E.g. our use case is to distinguish if given service was deployed via Jenkins or if it was deployed by some human and who?
We have micro-service architecture with a lot of stacks and lambda functions and many small distributed teams so for us it would be extremely helpful if GIT_USER and GIT_EMAIL would be exported by default.
I think this feature would be useful for the most of the people and if somebody don't want to populate his email or password, he could always use gitVariablesEnvWhitelist
and or gitVariablesTagsWhitelist
feature to hide this info.
If @jacob-meacham still disagree pls don't close it immediately and let people express their opinions.
I don't think this solves any problem, and is not an issue of this plugin.
If you want to know the user, you could tag with the OS login which is harder to fake. You could also just add another tag in jenkins deployments? Or don't give users permissions to deploy to prod.