File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -188,10 +188,10 @@ export class Repository extends codecommit.Repository {
188188
189189 this . importFunction = new lambda . Function ( this , 'ImportFunction' , {
190190 description : 'Clone to CodeCommit from remote repo (You can execute this function manually.)' ,
191- runtime : lambda . Runtime . PYTHON_3_9 ,
191+ runtime : lambda . Runtime . PYTHON_3_12 ,
192192 code : lambda . Code . fromAsset ( path . resolve ( __dirname , 'cr-import-repo' ) , {
193193 bundling : {
194- image : cdk . DockerImage . fromRegistry ( 'public.ecr.aws/sam/build-python3.9 :latest-x86_64' ) ,
194+ image : cdk . DockerImage . fromRegistry ( 'public.ecr.aws/sam/build-python3.12 :latest-x86_64' ) ,
195195 command : [
196196 '/bin/bash' , '-c' , [
197197 'mkdir -p /var/task/local/{bin,lib}' ,
@@ -208,9 +208,9 @@ export class Repository extends codecommit.Repository {
208208 } ,
209209 } ) ,
210210 handler : 'index.handler' ,
211- memorySize : 3072 ,
211+ memorySize : 4096 ,
212212 ephemeralStorageSize : cdk . Size . gibibytes ( 3 ) ,
213- timeout : cdk . Duration . minutes ( 5 ) ,
213+ timeout : cdk . Duration . minutes ( 15 ) ,
214214 environment : {
215215 TARGET_REPO : this . repositoryCloneUrlGrc ,
216216 } ,
You can’t perform that action at this time.
0 commit comments