Skip to content

Commit

Permalink
Fix merge failures
Browse files Browse the repository at this point in the history
  • Loading branch information
piradeepk committed Sep 25, 2019
1 parent d0c43dd commit aeaef64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 9 additions & 3 deletions packages/@aws-cdk/aws-ecs-patterns/test/ec2/test.l3s.ts
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ export = {
// WHEN
new ecsPatterns.ApplicationLoadBalancedFargateService(stack, 'Service', {
cluster,
image: ecs.ContainerImage.fromRegistry('test'),
taskImageOptions: {
image: ecs.ContainerImage.fromRegistry('test'),
},
domainName: 'api.example.com',
domainZone: zone,
protocol: ApplicationProtocol.HTTPS
Expand Down Expand Up @@ -384,7 +386,9 @@ export = {
test.throws(() => {
new ecsPatterns.ApplicationLoadBalancedFargateService(stack, 'Service', {
cluster,
image: ecs.ContainerImage.fromRegistry('test'),
taskImageOptions: {
image: ecs.ContainerImage.fromRegistry('test'),
},
protocol: ApplicationProtocol.HTTP,
certificate: Certificate.fromCertificateArn(stack, 'Cert', 'helloworld')
});
Expand All @@ -403,7 +407,9 @@ export = {
test.throws(() => {
new ecsPatterns.ApplicationLoadBalancedFargateService(stack, 'Service', {
cluster,
image: ecs.ContainerImage.fromRegistry('test'),
taskImageOptions: {
image: ecs.ContainerImage.fromRegistry('test'),
},
protocol: ApplicationProtocol.HTTPS
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ class EventStack extends cdk.Stack {
/// !show
new ApplicationLoadBalancedFargateService(this, 'HttpsService', {
cluster,
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
taskImageOptions: {
image: ecs.ContainerImage.fromRegistry("amazon/amazon-ecs-sample"),
},
protocol: elb.ApplicationProtocol.HTTPS,
domainName: 'test.example.com',
domainZone
Expand Down

0 comments on commit aeaef64

Please sign in to comment.