Skip to content

Commit a70b01b

Browse files
fix cfn init command failing (#39)
1 parent 45bece4 commit a70b01b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
cd "$DIR"
6969
echo "PROJECT_DIR=$DIR" >> $GITHUB_ENV
7070
ls -la
71-
printf "n" | cfn init -vv -t AWS::Foo::Bar
71+
printf "n" | cfn init -vv --artifact-type RESOURCE --type-name AWS::Foo::Bar
7272
ls -la
7373
mkdir ./dist
7474
cp "$RPDK_PATH" ./dist
@@ -77,7 +77,7 @@ jobs:
7777
npm install --optional
7878
sam build --debug --build-dir ./build TypeFunction
7979
sam build --debug --build-dir ./build TestEntrypoint
80-
sam local invoke -t build/template.yaml --debug --event sam-tests/create.json --log-file sam.log TestEntrypoint
80+
sam local invoke -t build/template.yaml --debug --event sam-tests/create.json --log-file sam.log TestEntrypoint
8181
grep -q '"status":"SUCCESS"' sam.log
8282
- name: Gather Debug Logs
8383
id: gather_logs

0 commit comments

Comments
 (0)