diff --git a/packages/amplify-category-function/src/provider-utils/awscloudformation/utils/zipResource.ts b/packages/amplify-category-function/src/provider-utils/awscloudformation/utils/zipResource.ts index b25eb9b46c4..b28eb19c1f0 100644 --- a/packages/amplify-category-function/src/provider-utils/awscloudformation/utils/zipResource.ts +++ b/packages/amplify-category-function/src/provider-utils/awscloudformation/utils/zipResource.ts @@ -19,6 +19,7 @@ export const zipPackage = (zipEntries: ZipEntry[], packageFileName: string): Pro zip.glob('**/*', { cwd: entry.sourceFolder, ignore: entry.ignoreFiles, + dot: true, }); } if (entry.packageFolder) {