I tried to create duplicate environment variables as I was rolling some AWS creds. I was able to create the new ones, but when I went to delete the old ones, the delete command deleted the new ones as well.
I think what was happening is that on the server I was overwriting the old creds, but the UI wasn’t updating to reflect that.
Not sure if this is related or helpful, but CircleCi executes each command in a new shell, so ant env varibles creates outside of the global section don’t exist once that command ends.