8
8
- Simplify SAM's complex packaging & deploy steps & flags into a simple ` deploy ` command.
9
9
- Provide a best practice for deploying multiple environments.
10
10
11
- <p align =" center " ><img width =" 750 " height =" 450 " src =" https://imgix.bustle.com/uploads/image/2018/6/26/a5688b17-aa7f-4317-9778-1d80f83b4274-term-sheet-1530020366285.svg " ></p >
12
-
13
11
---
14
12
15
13
### Prerequisites
@@ -24,7 +22,7 @@ sammie init my-app
24
22
sammie deploy
25
23
```
26
24
27
- This will generate a basic serverless application, deploy it to a development environment, and direct you to your app served over https!
25
+ This will generate a serverless application, deploy it to a development environment, and direct you to your app served over https!
28
26
29
27
---
30
28
@@ -44,7 +42,7 @@ _Options:_
44
42
` -e, --environment ` : An environment name to deploy. Defaults to "development".
45
43
` -p, --parameters ` : A list of parameters to override in your template.
46
44
` -s, --stack-name ` : Option to override the auto-generated environment stack name.
47
- ` --s3-bucket ` : S3 bucket where code is uploaded. Defaults to Parameters.bucketName in template.
45
+ ` --s3-bucket ` : S3 bucket where code is uploaded. Defaults to Parameters.bucketName in template which is generated for you .
48
46
` --s3-prefix ` : S3 path prefix added to the packaged code file. Defaults to stackName/year.
49
47
50
48
---
@@ -61,8 +59,8 @@ E.g. your stack name is "my-app":
61
59
62
60
#### Environment variables & properties
63
61
64
- To add environment specific variables & properties, create separate sam templates named with the environment suffix.
65
- E.g. ` sam-production.json ` containing the following, will get merged with your base template ` sam.json ` upon ` sammie deploy --environment production `
62
+ To help add environment specific variables & properties, you can create separate SAM templates named with the environment suffix.
63
+ E.g. ` sam-production.json ` containing the following, will get _ merged with your base template _ ` sam.json ` upon ` sammie deploy --environment production `
66
64
67
65
``` json
68
66
{
0 commit comments