Comments (7)
I'd really love to see this feature.
As is it right now, I can't use this plugin, as it would mean creating a S3 bucket beforehands, which is not the purpose of IaC.
Would it be a possibility to see this feature in the future ?
from serverless-layers.
I've been using this with the Deployment Bucket plugin, so that I'm not dynamically creating the deployment bucket, but it's still managed with serverless. The only downside for this is after doing sls remove
, I have to manually (or have a CI script) empty and remove the deployment buicket.
from serverless-layers.
Does anyone have a workaround for this
from serverless-layers.
I would appreciate if this plugin exposed some hooks for me to use, but ig i'll use the same plugin as well
from serverless-layers.
It is not something I'm planning to support/fix very soon, honestly. It would need a big refactoring which I can't do currently.
#116
from serverless-layers.
I would appreciate if this plugin exposed some hooks for me to use, but ig i'll use the same plugin as well
What kind of hooks
do you need?
from serverless-layers.
If the serverless-layers package can implement a lifecycle named deployLayer
then serverless will auto generate a hook for me called before:deployLayer
, then I can write a short plugin as a small js file which integrates in my serverless file, reads the layersDeploymentBucket name from custom and creates the bucket / ensures the bucket is created, before the serverless-layers plugin takes over. I would prefer this over integrating the plugin @tstackhouse mentioned because
- It is explicit control over execution flow,
- The small js file is very explicit about what it does and any developer that comes after me will be able to figure out why its necessary and they can safely remove it when serverless-layers plugin itself implements #116
I also created an issue for this here #132
from serverless-layers.
Related Issues (20)
- Layer version not updated when using provision concurency HOT 1
- Command failed: yarn --production HOT 3
- Wrong layer is used HOT 6
- Release new version?
- Not able to detect change in package.json
- Possible to works with workspaces ?
- Python 3.10 and 3.11 support
- Mysteriously increased my layers deployment
- npm warnings for --only=prod
- excluding "aws-dk" broken the build HOT 2
- Python Layers using other layers packages HOT 3
- Is there a way to combine 2 package.json for a single function?
- Hello, can you support runtime: provided.al2023
- node_modules not included in layers HOT 7
- package.json file is not actually copied over in WSL2 HOT 1
- copyProjectFile should NOT call init() every time
- Bug in version 2.8.5 HOT 2
- "Could not find API configuration lambda-2015-03-31" in v2.8.5
- Creating layer fails in versions > 2.8.2 HOT 1
- Run layers command out of serverless hooks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serverless-layers.