Skip to content

Commit

Permalink
change warning to error
Browse files Browse the repository at this point in the history
  • Loading branch information
Fergus Dixon authored and fergusdixon committed Oct 6, 2022
1 parent e1a97f8 commit 47ffe21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-ecs/lib/base/base-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ export abstract class BaseService extends Resource
Annotations.of(this).addWarning('taskDefinition and launchType are blanked out when using external deployment controller.');
}
if (props.circuitBreaker && props.deploymentController?.type !== DeploymentControllerType.ECS) {
Annotations.of(this).addWarning('Deployment circuit breaker requires the ECS deployment controller.');
Annotations.of(this).addError('Deployment circuit breaker requires the ECS deployment controller.');
}
this.serviceArn = this.getResourceArnAttribute(this.resource.ref, {
service: 'ecs',
Expand Down

0 comments on commit 47ffe21

Please sign in to comment.