diff --git a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-group-metrics.ts b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-group-metrics.ts index 89638eef6c80e..ea74dec2462f5 100644 --- a/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-group-metrics.ts +++ b/packages/@aws-cdk-testing/framework-integ/test/aws-logs/test/integ.log-group-metrics.ts @@ -1,5 +1,5 @@ import { IntegTest } from '@aws-cdk/integ-tests-alpha'; -import { App, Stack } from 'aws-cdk-lib'; +import { App, RemovalPolicy, Stack } from 'aws-cdk-lib'; import { LogGroup } from 'aws-cdk-lib/aws-logs'; const app = new App(); @@ -7,6 +7,7 @@ const stack = new Stack(app, 'aws-cdk-log-group-metrics'); const logGroup = new LogGroup(stack, 'MyLogGroup', { logGroupName: 'my-log-group', + removalPolicy: RemovalPolicy.DESTROY, }); logGroup.metricIncomingBytes().createAlarm(stack, 'IncomingBytesPerInstanceAlarm', {