change Fargate service LogGroup removal policy to DESTROY.
@@ -100,10 +100,12 @@ export class FargateService {
this.logGroups = {
default: new logs.LogGroup(scope, "default", {
- logGroupName: `grapl/${this.serviceName}/default`
+ logGroupName: `grapl/${this.serviceName}/default`,
+ removalPolicy: cdk.RemovalPolicy.DESTROY
}),
retry: new logs.LogGroup(scope, "retry", {
- logGroupName: `grapl/${this.serviceName}/retry`
+ logGroupName: `grapl/${this.serviceName}/retry`,
+ removalPolicy: cdk.RemovalPolicy.DESTROY
}),
}
