Comments (8)
option 3 would have been pretty sweet ;-)
from serverless.
I also think it's interesting to see how others are using stage name.
I ran into this because I'm working in a team environment and was trying to setup a stage as boushley-dev
. That blew up at the point of deploying to API Gateway so I switched to boushley_dev
. That blew up when creating the CloudFormation Template. So I switched to boushleyDev
which blew up when jaws deploy api
couldn't find the stage because of the toLowerCase
call.
from serverless.
@boushley Great find! You're close to this issue, which option do you prefer? Option 1 sounds simplest.
I'm currently thinking about changing the naming convention for all JAWS resources, so this is timely. I'm also thinking about giving each JAWS project a unique ID and including it in the names of all JAWS-related resources on AWS, as opposed to using the project's name which we're doing currently. This way, people can change the name of their projects at any time. The downside is that when you are reviewing your resources in the AWS console, you will only see IDs and not project names.
Please hold off on a PR We're making major changes until we release the V1 Beta on Monday (9/14).
from serverless.
@ac360 I think option 1 would be good enough for now. Option 3 would be a great solution, but especially for the stage this project is at I don't think the work to benefit ratio is high enough.
Glad to hear the 9/14 date again... after the comments in the V1 Google doc I wasn't sure :)
On the idea of a unique ID that's a tough one. When looking at my AWS resources it is super handy to see which ones are from which projects. I would understand making something like stage a unique ID that the user doesn't control (guess that's a reasonable fourth option). At the same time from my time working in AWS on CloudFormation I understand how painful it is to deal with users changing the name of something. My guess is you're going to get complaints either way.
I have more thoughts on the unique ID thing, should I put them here or as comments on the JAWS v1.0.0 Google Doc?
from serverless.
@ac360 Also, I keep forgetting to say it, Thanks! This project is fantastic! When I saw API Gateway released I was super excited about this possibility and instantly wanted something like this. I'm excited this project is so far along!
from serverless.
@boushley Please put everything in the V1 Google doc for now. Comment everywhere you need to. Your opinions are good ones. The V1 doc is a bit behind, but I will update it tonight.
Thanks for your support. I'm working full-time on this. V1 is going to be a game-changer. Hopefully JAWS will save all of us developers tons of money, tons of devops time, and then we will be forced to do other things with our lives, like go outside (I've forgotten what that's like).
from serverless.
@ac360 hopefully you can become re-acquainted with the outdoors soon.
If there's any way I can help, let me know. I understand how time consuming it is to spin someone up on a project though, so if you're heads down until v1 beta hits, I totally understand.
from serverless.
@boushley Def heads down until Monday. At that point, we're going to seek everyone's input and throw out some features we need but didn't get to, in case anyone wants to implement them.
from serverless.
Related Issues (20)
- Implement Exponential Backoff Strategy for AWS API Deployment Rate Limits HOT 5
- Serverless support command occasionally includes the wrong command in report HOT 1
- Template generation produces incorrect template when Policies are specified using an intrinsic.
- `Fn::ForEach` Supported but an error is thrown on the CLI
- Node minimum version requirements? HOT 7
- Lambda invokeMode as RESPONSE_STREAM is not set in deployment
- Add support for docker build --cache-to / remote registry caching
- Unable to build v4 for testing HOT 1
- Error: Cannot find module 'node:events' HOT 3
- dependency [email protected] is vulnerabilty HOT 1
- Missing support for Ruby 3.3 runtime
- Add support for Dockerfile --secret
- Breaking Change in NodeJS 20.12.2 (Error: spawn EINVAL) HOT 3
- Serverless transpiling before provider environment variables initialization HOT 1
- custom-resource-existing-cup needs upgrade HOT 1
- Expose aws partition variable along with account id and region - https://github.com/serverless/serverless/blob/main/lib/configuration/variables/sources/instance-dependent/get-aws.js
- Deep dependency on this critical vulnerability version of formdiable HOT 1
- The Serverless version (3.38.0) does not satisfy the "frameworkVersion" (2.72.3) in serverless.yml
- `AxiosError` on deployment
- TypeError: Cannot convert undefined or null to object at Function.keys
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.