File tree Expand file tree Collapse file tree 3 files changed +14
-10
lines changed
PetAdoptions/cdk/pet_stack Expand file tree Collapse file tree 3 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export class ContainerImageBuilder extends Construct {
32
32
repositoryName : props . repositoryName ,
33
33
imageScanOnPush : true ,
34
34
removalPolicy : cdk . RemovalPolicy . DESTROY ,
35
- autoDeleteImages : true ,
35
+ emptyOnDelete : true ,
36
36
} ) ;
37
37
const image = new ecrassets . DockerImageAsset ( this , props . repositoryName + 'DockerImageAsset' , {
38
38
directory : props . dockerImageAssetDirectory
@@ -45,4 +45,4 @@ export class ContainerImageBuilder extends Construct {
45
45
this . repositoryUri = repository . repositoryUri ;
46
46
this . imageUri = `${ repository . repositoryUri } :latest` ;
47
47
}
48
- }
48
+ }
Original file line number Diff line number Diff line change 14
14
"dependencies" : {
15
15
"@aws-cdk/aws-lambda-python-alpha" : " ^2.131.0-alpha.0" ,
16
16
"@types/js-yaml" : " ^4.0.9" ,
17
- "aws-cdk-lib" : " ^2.131 .0" ,
18
- "cdk-ecr-deployment" : " ^3.0.32 " ,
17
+ "aws-cdk-lib" : " ^2.146 .0" ,
18
+ "cdk-ecr-deployment" : " ^3.0.67 " ,
19
19
"jest" : " ^29.7.0" ,
20
20
"js-yaml" : " ^4.1.0" ,
21
21
"source-map-support" : " ^0.5.21"
22
22
},
23
23
"devDependencies" : {
24
24
"@types/jest" : " ^29.5.12" ,
25
- "@types/node" : " ^20.11.25 " ,
26
- "aws-cdk" : " ^2.131 .0" ,
27
- "cdk-nag" : " ^2.28.55 " ,
25
+ "@types/node" : " ^20.14.2 " ,
26
+ "aws-cdk" : " ^2.146 .0" ,
27
+ "cdk-nag" : " ^2.28.144 " ,
28
28
"constructs" : " ^10.3.0" ,
29
- "ts-jest" : " ^29.1.2 " ,
29
+ "ts-jest" : " ^29.1.5 " ,
30
30
"ts-node" : " ^10.9.2" ,
31
31
"ts-replace-all" : " ^1.0.0" ,
32
- "typescript" : " ^5.4.2 "
32
+ "typescript" : " ^5.4.5 "
33
33
}
34
34
}
Original file line number Diff line number Diff line change 1
1
version : 0.2
2
+ env :
3
+ variables :
4
+ # https://github.com/cdklabs/cdk-ecr-deployment/issues/478#issuecomment-1938020710
5
+ NO_PREBUILT_LAMBDA : " 1"
2
6
phases :
3
7
install :
4
8
commands :
@@ -15,4 +19,4 @@ phases:
15
19
- cdk deploy Services --context admin_role=${EE_TEAM_ROLE_ARN} --context is_event_engine="true" --require-approval=never --verbose -O ./out/out.json
16
20
- cdk deploy Applications --require-approval=never --verbose -O ./out/out.json
17
21
artifacts :
18
- files : ' ./PetAdoptions/cdk/pet_stack/out/out.json'
22
+ files : " ./PetAdoptions/cdk/pet_stack/out/out.json"
You can’t perform that action at this time.
0 commit comments