gordon icon indicating copy to clipboard operation
gordon copied to clipboard

Do stages/contexts work with `gordon run`?

Open lukemelia opened this issue 9 years ago • 6 comments

I'm trying to use gordon run to test a lambda but it is failing trying read the context json from the path .context. It is hard to tell from the docs whether this is expected or not.

lukemelia avatar Jun 03 '16 20:06 lukemelia

No it does not create the .context file at the moment, but it would be a great improvement for the next version.

$ echo `{}` | gordon run app.lambda  --stage=prod

jorgebastida avatar Jun 04 '16 09:06 jorgebastida

Got another use case where this becomes a problem. See https://github.com/jorgebastida/gordon/issues/32

jorgebastida avatar Jun 05 '16 10:06 jorgebastida

+1 to this feature. It'd be really helpful, so I can avoid mocking out my own .context file for local testing.

efosmark avatar Jun 16 '16 22:06 efosmark

Another +1 for this feature from me, it would really help my local testing

dankelleher avatar Jun 26 '16 21:06 dankelleher

+1 too as I can't do any local testing without the variables in my .content

jakul avatar Jul 28 '16 14:07 jakul

same here

robinagist avatar Feb 10 '17 21:02 robinagist