-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hubot-env not working with hubpot-aws properly on env load #50
Comments
needed to make my aws.coffee have a new line in it before the return:
|
@stormlrd I'm sure that it is not an expected behavior. |
basically it went like this in my testing: hubot env load --filename=env1.env hubot env load --filename=env2.env the env files had the same variables declared and were showing in the output as changing. i.e I saw different access key and secret ids but the second hubot ec2 ls call was showing the first environments one still. I've kinda forked the code and applied the fix and moved on for now tho. |
Thanks for sharing commands. I run the same commands, and switching the accounts were properly worked.
Could you share operation logs including all stdout from hubot, not only running commands ? |
rad.env
mcp HUBOT_AWS_CREDENTIALS=radium
mcp server list from rad successfully pulled
mcp HUBOT_AWS_CREDENTIALS=Zenstorm mcp ec2 ls mcpBOT [8:48 AM] Rad server list returned again |
Hi,
for some reason I cannot get hubot ec2 ls to work properly after changing environments using hubot env load --filename=profile.env
the first profile I load persists on an ec2 ls.
am I doing something wrong here? I've tested this on a fresh hubot install and I just can't make the switch between accounts.
the env load shows all the right changes for access keys etc.
but the ec2 ls on the second env load shows the first ones results..
if I switch from loading profile1 first to profile2 , when I load profile1 after profile2 I get profile2 results... and vice versa..
sitting here scratching my head a bit :\ I've tried modifying the code to make variables unset using =null and nothing has worked to date.
some ideas would be great.
thanks.
The text was updated successfully, but these errors were encountered: