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

Does not seem to work with the latest Serverless version (1.35.1) #25

Open
alexcallow opened this issue Jan 8, 2019 · 8 comments
Open

Comments

@alexcallow
Copy link

Does not output the file with the latest Serverless version (1.35.1)

@philipbarile
Copy link

Does not output the file with the latest Serverless version (1.35.1)

After upgrading serverless to 1.35.1 the other day, I have noticed this too, although it also intermittently works for me.

I moved the serverless package back to the following versions and noticed it as well:
1.35.0
1.34.0
1.33.0

It finally worked again for me when I went back to 1.32.0.

@joshpassenger
Copy link

joshpassenger commented Jan 28, 2019

I can confirm this silently doesn't write any output files or invoke my script using serverless: 1.36.1

Does anyone have a workaround other than regression? I need later features so this is not feasible.

I use this plugin to create web config files that details things like the API Gateway endpoints, things just stopped working silently after an AWS region change and clean deploy.

@joshpassenger
Copy link

Workaround is to use this fork:

https://github.com/anttiviljami/serverless-stack-output

Install via:

npm install @anttiviljami/serverless-stack-output

Reference from serverless.yml:

plugins:

  • '@anttiviljami/serverless-stack-output'

(Note quotes)

@ivictbor
Copy link

ivictbor commented Feb 5, 2019

Same issue here with frameworkVersion: "=1.36.3"

@mkondel
Copy link

mkondel commented Apr 18, 2019

@joshpassenger BIG Thank you!

@ivictbor just replace the original with the fork above, and you should be all set.

@ozbillwang
Copy link

ozbillwang commented May 3, 2019

plugin '@anttiviljami/serverless-stack-output' work with sls v1.41.1

@anttiviljami

Any reason you don't raise PR and merge the change to the main stream?

@anttiviljami
Copy link

Well the reason is just that these PRs (#17 + #18 + #19) already exist. I don't see any reason to combine these to one.

@andreimcristof
Copy link

andreimcristof commented Sep 11, 2019

Confirmed that this doesnt work.

Also, last commit was in 2017 so this is most probably abandoned.

Maybe it helps someone - I ended up avoiding this and instead using a plugin that just runs whatever custom script you feed it, on the event of finished deployment - in the script then I just use filestream to write a file with the exact desired serverless vars in the format I needed.

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

8 participants