Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit 85bb60e

Browse files
committed
Merge branch '32-fix-elasticache-subnet-reference' into 'develop'
Resolve "Subnet group [default] belongs to a different VPC X than Y" Closes #32 See merge request verbose-equals-true/django-postgres-vue-gitlab-ecs!76
2 parents f103dc7 + b7b128f commit 85bb60e

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

awscdk/awscdk/awscdk.egg-info/requires.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ aws-cdk.aws_certificatemanager==1.38.0
33
aws-cdk.aws_secretsmanager==1.38.0
44
aws-cdk.aws_route53==1.38.0
55
aws-cdk.aws_s3==1.38.0
6+
aws_cdk.aws_s3_deployment==1.38.0
67
aws-cdk.aws_cloudfront==1.38.0
78
aws-cdk.aws_route53_targets==1.38.0
89
aws-cdk.aws_ecr==1.38.0

awscdk/awscdk/elasticache.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ def __init__(
4646
vpc_security_group_ids=[
4747
self.elasticache_security_group.get_att("GroupId").to_string()
4848
],
49-
cache_subnet_group_name=self.elasticache_subnet_group.cache_subnet_group_name, # noqa
49+
cache_subnet_group_name=self.elasticache_subnet_group.ref, # noqa
5050
)

awscdk/awscdk/static_site_bucket.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
import os
2+
13
from 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

awscdk/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
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",

awscdk/stack.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)