-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Documentation Revamp #251
Comments
For those of you following along the Issue, we just pushed a first set of changes to And there is a pretty website as well - https://awslabs.github.io/serverless-application-model/. Still very much a work in progress |
This includes Event structure and Resource Properties.
I ask you that specific information of SAM should be informed on SAM documentations. As you know, each property of AWS resources has one of three update behaviors like the followings
Unfortunately, I couldn't find any information about update behavior of the following SAM resources. AWS::Serveless::Function I need such information in order to prepare specific solution for interruptions on updating SAM resources. And other developers using SAM would need it for safe deployment. If you have any information about what each property of SAM resources has as update behavior, please share it here first. |
@yunchancho Love the suggestion! This is a great thing we should add to our documentation. To keep this issue scope to the initial intent, could you please create a new Feature Request Issue and add the details you asked for here? If you have any suggestions on where this documentation could be added to our docs, would you mind adding those details as well? |
@yunchancho My appologizes! You did raise an issue (#292). I will reply there. |
This is a problem for large corporate deployments where one needs to account for many different cases within the template. Almost a non-starter as it immediately forces one into non-optimal fallback mode in step 1. eg: VPC/SubnetId Edit: |
Note that the comments made in various tickets about the intrinsic names for Stage (and documented here: https://awslabs.github.io/serverless-application-model/internals/generated_resources.html#aws-serverless-api) appear now to be wrong. The "logicalId" for a Stage created by SAM now appears simply to be When I added in the stage name, I got an error that no such element exists and the stack deployment failed. A comment in #259 helped solve the issue for me. If these names did indeed change, this seems to be in contradiction to statements made by the SAM team that we can count on these intrinsic names and they will never change. Or have I misunderstood something here? |
@david-katz Apologies, that link is no longer valid. This documentation page should be considered the source of truth for logicalIds generated by SAM: I've edited the comment in #259 to remove that link so it doesn't cause further confusion. |
We've recently done a major docs refresh. If you feel there is something missing from the current docs, please open a new issue. |
Parent tracking issue to discuss improvements to SAM documentation. Here are some of the things planned:
aws cloudformation package/deploy
commandsFeel free to comment here if you think something is missing from this list. We will add them.
How to Contribute
If you find a mistake or a missing doc and want to contribute, feel free send a pull requests against the docs branch. Doc changes are being made on the
docs
branch and made available on SAM Docs Website automatically through a TravisCI build.Download & Edit docs
git clone https://github.com/awslabs/serverless-application-model.git
cd serverless-application-model
git checkout docs
Build the docs website locally
We use Sphinx to generate the website from docs. Sphinx compiles rst files and shows errors if any. This is recommended before pushing to Github to make sure your rst files are valid. Here are the instructions to build it yourself:
cd docs/website
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
make clean && make html
This will create HTML pages on the
docs/website_build/
directory. Open thedocs/website/_build/index.html
file and start browsing.The text was updated successfully, but these errors were encountered: