-
Notifications
You must be signed in to change notification settings - Fork 86
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
aws-lambda-tools-defaults.json documentation #54
Comments
Hi @patoncrispy, I'm not aware of any more documentation either. I think the best advice I could give you would be to look at the relevant code in our repository when you wish to use the defaults file. This will also ensure that you are using a current source for your information. Helpful files: These will show you the information for the options you can use. |
I agree this file could use some documentation but there is not much to it. The file is a short cut for setting parameters on the commandline. For example if you execute
All these fields can be set in aws-lambda-tools-defaults.json minus the |
Yeah I've been scanning through the source code alright. Managed to find a few useful things (template-substitutions). Having this information surfaced somewhere though would let newcomers know the extent of the capabilities the tooling has. |
Thank you @normj |
Documentation, or expanded information in the help text would be useful. There were two particular aspects that I didn't know until reading the comments in this issue:
|
@normj, could you provide an example of setting the runtime via the I've tried:
I'm looking at the code, and I can't for the life of me figure out why that wouldn't work... Update: Update 2: Hmm, I think I thought it was working, but really it was doing nothing. Update 3: |
Hi, Is it possible to add the environement variable for the environement of development? In fact, VS allows to setup appsettings.json, appsettings.testing.json, appsettings.json.production It would be great to be able to rpovide environement varibel for the deployment of the lambda functions and automatically picking the good connection string . Thanks, |
@benmccallum and others: Has anyone figured out how to use |
@paul-michalik I just created this feature request in our repo on what we should do to support this feature. I would appreciate your thoughts on if it would solve your needs. #213 It would also be best to move the discussion to an open issue. |
Is there documentation for aws-lambda-tools-defaults.json somewhere? I've been Googling it and can't find anything. Only by sheer luck did I stumble across the template-substitutions property in an example and it would have come in handy a looong time ago. It would be great to see what other value I'm missing out on.
Also, is it possible to define multiple template-substitutions? I tried using an array of strings but it doesn't seem to work.
Thanks!
The text was updated successfully, but these errors were encountered: