Skip to content

Commit faab664

Browse files
fix SAM build and deploy
1 parent b12c2fa commit faab664

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/sam-alt/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
6-
"build": "sam build --config-file alt-samconfig.yaml --template-file alt-template.yaml",
7-
"deploy": "npm run build && sam deploy --config-env test --no-confirm-changeset --config-file alt-samconfig.yaml --template-file alt-template.yaml && npm run export_outputs",
6+
"build": "sam build --config-env test --config-file alt-samconfig.yaml --template-file alt-template.yaml",
7+
"deploy": "npm run build && sam deploy --config-env test --config-file alt-samconfig.yaml --no-confirm-changeset && npm run export_outputs",
88
"export_outputs": "aws cloudformation describe-stacks --stack-name lld-test-sam-alt --output json --query Stacks[0].Outputs > sam-outputs.json",
9-
"destroy": "sam delete --config-env test --no-prompts"
9+
"destroy": "sam delete --config-env test --config-file alt-samconfig.yaml --no-prompts"
1010
},
1111
"devDependencies": {
1212
"@tsconfig/node20": "^20.1.4",
@@ -15,4 +15,4 @@
1515
"dependencies": {
1616
"@aws-sdk/client-sts": "^3.577.0"
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)