Skip to content

Commit 9aa0d63

Browse files
author
Eldyn Castillo
committed
removed extra comments
1 parent 41832f1 commit 9aa0d63

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

python/ecs-serviceconnect/cdk_examples_service_connect/cdk_examples_service_connect_stack.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
from aws_cdk import (
2-
# Duration,
32
Stack,
43
aws_ec2 as ec2,
5-
# aws_sqs as sqs,
64
)
75
from constructs import Construct
86
from ecs.ecs_stack import EcsStack

python/ecs-serviceconnect/ecr/ecr_stack.py

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
1-
# write a boilerplate class for an appmesh mesh with cdk
2-
# from aws_cdk import (
3-
# aws_appmesh as appmesh,
4-
5-
# )
6-
# import os
7-
# import aws_cdk as core
8-
# from aws_cdk import Stack, Tags, App
91
from constructs import Construct
10-
# import aws_cdk.aws_ecs as ecs
11-
# import aws_cdk.aws_servicediscovery as servicediscovery
12-
# import aws_cdk.aws_elasticloadbalancingv2 as elbv2
13-
# import aws_cdk.aws_ec2 as ec2
14-
# import aws_cdk.aws_ecr as ecr
15-
# from aws_cdk.aws_ecr_assets import DockerImageAsset, Platform
16-
# import subprocess
172
from aws_cdk.aws_ecr_assets import DockerImageAsset, Platform
183
import cdk_ecr_deployment as ecrdeploy
194

205
from aws_cdk import (
21-
# Duration,
226
NestedStack,
23-
Stack,
24-
aws_ec2 as ec2,
257
aws_ecr as ecr,
26-
aws_ecs as ecs,
278
Aws
28-
# aws_sqs as sqs,
299
)
3010
class EcrStack(NestedStack):
3111

@@ -63,10 +43,4 @@ def __init__(self, scope: Construct, id: str, **kwargs, ) -> None:
6343

6444
# Exporting values to be used in other stacks
6545
self.frontend_docker_asset = frontendAsset
66-
self.backend_data_docker_asset = dataAsset
67-
self.frontend_repo = FrontendRepository
68-
self.backend_repo = BackendDataRepository
69-
self.frontend_repository_uri = FrontendRepository.repository_uri
70-
self.frontend_repository_name = FrontendRepository.repository_name
71-
self.backend_data_repository_uri = BackendDataRepository.repository_uri
72-
self.backend_data_repository_name = BackendDataRepository.repository_name
46+
self.backend_data_docker_asset = dataAsset

0 commit comments

Comments
 (0)