File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1212
1313tables :
1414 insight_poc_table :
15- collection : t01wdidewc0h
15+ collection : insight-poc-collection
16+ description : Insight POC Table for testing purposes
1617 name : insightPocTable
1718 type : TABLE_STORE_H
1819 network :
Original file line number Diff line number Diff line change 1- export const CODE_ZIP_SIZE_LIMIT = 15 * 1000 * 1000 ;
1+ export const CODE_ZIP_SIZE_LIMIT = 300 * 1000 ; // 300 KB ROS TemplateBody size limit 512 KB
22export const OSS_DEPLOYMENT_TIMEOUT = 3000 ; // in seconds
33export const SI_BOOTSTRAP_FC_PREFIX = 'si-bootstrap-api' ;
44export const SI_BOOTSTRAP_BUCKET_PREFIX = 'si-bootstrap-artifacts' ;
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ const getBootstrapTemplate = async (context: Context) => {
3838 Description : 'ServerlessInsight Bootstrap API' ,
3939 Handler : 'index.handler' ,
4040 Runtime : 'nodejs20' ,
41- Layers : [ 'acs:fc:cn-hangzhou:1990893136649406:layers/si-bootstrap-sdk/versions/18' ] ,
41+ Layers : [
42+ `acs:fc:${ context . region } :${ context . accountId } :layers/si-bootstrap-sdk/versions/18` ,
43+ ] ,
4244 Code : {
4345 SourceCode : `
4446const { bootstrapHandler } = require('@geek-fun/si-bootstrap-sdk');
You can’t perform that action at this time.
0 commit comments