Skip to content
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

Stage not passed to serverless #5

Open
rgoessl opened this issue Sep 17, 2018 · 6 comments
Open

Stage not passed to serverless #5

rgoessl opened this issue Sep 17, 2018 · 6 comments

Comments

@rgoessl
Copy link

rgoessl commented Sep 17, 2018

Running the following command with tf-output@1.5.4 caused serverless to fail complaining that ${opt:stage} is not set:

tf-output <dirs> -a -g -c -p terraform/{dir}/stages/{stage}-{region} -- serverless deploy --stage=test --region=us-east-1

Reverting to tf-output@1.3.0 resolved the issue.

@dougmoscrop
Copy link
Owner

What operating system?

@rgoessl
Copy link
Author

rgoessl commented Sep 17, 2018

Windows 10, run on bash

@dougmoscrop
Copy link
Owner

Hmm, the latest version added some escaping... which seems to work fine for me on OSX but maybe has othe rissues.

Windows 10 like "we added support for bash" or "Git bash on Windows 10" ?

@rgoessl
Copy link
Author

rgoessl commented Sep 17, 2018

Git bash on windows. It looks like the = signs were escaped:

Error: serverless deploy --stage\=tst --region\=us-east-1 exited with non-zero status code

@dougmoscrop
Copy link
Owner

@rgoessl
Copy link
Author

rgoessl commented Sep 18, 2018

The spawn fails now:

Error: spawn serverless ENOENT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants