-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsamconfig.toml
More file actions
43 lines (38 loc) · 1.18 KB
/
samconfig.toml
File metadata and controls
43 lines (38 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# SAM CLI configuration for local deployment.
#
# Full list of CloudFormation parameters is in infra/aws/template.yaml (Parameters).
# Interactive deploy (infra/aws/scripts/deploy.sh) passes overrides on the CLI.
# This file is for quick sam build / sam deploy with minimal Stage-only overrides.
#
# Usage:
# sam build --config-env test
# sam deploy --config-env test
# sam deploy --config-env prod
#
version = 0.1
[default.build.parameters]
template_file = "infra/aws/template.yaml"
use_container = true
[test.build.parameters]
template_file = "infra/aws/template.yaml"
use_container = true
# test: minimal Stage; add other template parameters via --parameter-overrides or guided deploy.
[test.deploy.parameters]
stack_name = "syncbot-test"
resolve_s3 = true
s3_prefix = "syncbot-test"
region = "us-east-2"
capabilities = "CAPABILITY_IAM"
confirm_changeset = true
parameter_overrides = "Stage=test"
[prod.build.parameters]
template_file = "infra/aws/template.yaml"
use_container = true
[prod.deploy.parameters]
stack_name = "syncbot-prod"
resolve_s3 = true
s3_prefix = "syncbot-prod"
region = "us-east-2"
capabilities = "CAPABILITY_IAM"
confirm_changeset = true
parameter_overrides = "Stage=prod"