Skip to content

Commit 41d3858

Browse files
committed
fix: update ami-updater zip output path to match module expectation
- modify dist script to create zip file in dist/ami-updater.zip instead of root directory - ensure zip file location matches terraform module's expected path
1 parent f59b33e commit 41d3858

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lambdas/functions/ami-updater/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"lint": "eslint src",
1212
"watch": "ts-node-dev --respawn --exit-child src/local.ts",
1313
"build": "ncc build src/lambda.ts -o dist",
14-
"dist": "yarn build && cp package.json dist/ && cd dist && zip ../ami-updater.zip *",
14+
"dist": "yarn build && cp package.json dist/ && cd dist && zip ../dist/ami-updater.zip *",
1515
"format": "prettier --write \"**/*.ts\"",
1616
"format-check": "prettier --check \"**/*.ts\"",
1717
"all": "yarn build && yarn format && yarn lint && yarn test"
@@ -48,4 +48,4 @@
4848
"all"
4949
]
5050
}
51-
}
51+
}

0 commit comments

Comments
 (0)