This repository was archived by the owner on Mar 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed
Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ aws-cdk.aws_certificatemanager==1.38.0
33aws-cdk.aws_secretsmanager==1.38.0
44aws-cdk.aws_route53==1.38.0
55aws-cdk.aws_s3==1.38.0
6+ aws_cdk.aws_s3_deployment==1.38.0
67aws-cdk.aws_cloudfront==1.38.0
78aws-cdk.aws_route53_targets==1.38.0
89aws-cdk.aws_ecr==1.38.0
Original file line number Diff line number Diff line change 1+ import os
2+
13from aws_cdk import (
24 aws_s3 as s3 ,
5+ aws_s3_deployment as s3_deployment ,
36 aws_iam as iam ,
47 core ,
58)
@@ -33,3 +36,7 @@ def __init__(
3336 )
3437
3538 self .static_site_bucket .add_to_resource_policy (self .policy_statement )
39+
40+ if os .path .isdir ("../quasar/dist/pwa" ):
41+ print ("quasar assets dir" )
42+ # TODO: S3 Deployment if there are files in the pwa folder
Original file line number Diff line number Diff line change 2020 "aws-cdk.aws_secretsmanager==1.38.0" ,
2121 "aws-cdk.aws_route53==1.38.0" ,
2222 "aws-cdk.aws_s3==1.38.0" ,
23+ "aws_cdk.aws_s3_deployment==1.38.0" ,
2324 "aws-cdk.aws_cloudfront==1.38.0" ,
2425 "aws-cdk.aws_route53_targets==1.38.0" ,
2526 "aws-cdk.aws_ecr==1.38.0" ,
Original file line number Diff line number Diff line change @@ -820,7 +820,7 @@ Resources:
820820 - - Ref : AWS::AccountId
821821 - .dkr.ecr.us-east-1.
822822 - Ref : AWS::URLSuffix
823- - /aws-cdk/assets:1da57cd88c50ee3c4ef711e428963792b0ac58ea8173a192b45622a829fec77b
823+ - /aws-cdk/assets:e9bd2944752269283bca892a634e5fb9e54f6646415dbc7fc0118bca834b3e04
824824 LogConfiguration :
825825 LogDriver : awslogs
826826 Options :
@@ -1026,7 +1026,7 @@ Resources:
10261026 - - Ref : AWS::AccountId
10271027 - .dkr.ecr.us-east-1.
10281028 - Ref : AWS::URLSuffix
1029- - /aws-cdk/assets:1da57cd88c50ee3c4ef711e428963792b0ac58ea8173a192b45622a829fec77b
1029+ - /aws-cdk/assets:e9bd2944752269283bca892a634e5fb9e54f6646415dbc7fc0118bca834b3e04
10301030 LogConfiguration :
10311031 LogDriver : awslogs
10321032 Options :
@@ -1213,7 +1213,7 @@ Resources:
12131213 - - Ref : AWS::AccountId
12141214 - .dkr.ecr.us-east-1.
12151215 - Ref : AWS::URLSuffix
1216- - /aws-cdk/assets:1da57cd88c50ee3c4ef711e428963792b0ac58ea8173a192b45622a829fec77b
1216+ - /aws-cdk/assets:e9bd2944752269283bca892a634e5fb9e54f6646415dbc7fc0118bca834b3e04
12171217 LogConfiguration :
12181218 LogDriver : awslogs
12191219 Options :
@@ -1399,7 +1399,7 @@ Resources:
13991399 - - Ref : AWS::AccountId
14001400 - .dkr.ecr.us-east-1.
14011401 - Ref : AWS::URLSuffix
1402- - /aws-cdk/assets:1da57cd88c50ee3c4ef711e428963792b0ac58ea8173a192b45622a829fec77b
1402+ - /aws-cdk/assets:e9bd2944752269283bca892a634e5fb9e54f6646415dbc7fc0118bca834b3e04
14031403 LogConfiguration :
14041404 LogDriver : awslogs
14051405 Options :
You can’t perform that action at this time.
0 commit comments