Skip to content

Commit 109b2ab

Browse files
authored
fix(cloudformation-diff): Fix aws-sdk dependency issue (#28680)
Missing dependency when exporting `@aws-cdk/cloudformation-diff` in custom AWS Construct Library. Closes #28679 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent db2e78e commit 109b2ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/@aws-cdk/cloudformation-diff/lib/diff-template.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// The SDK is only used to reference `DescribeChangeSetOutput`, so the SDK is added as a devDependency.
22
// The SDK should not make network calls here
3-
// eslint-disable-next-line import/no-extraneous-dependencies
4-
import { CloudFormation } from 'aws-sdk';
3+
import type { CloudFormation } from 'aws-sdk';
54
import * as impl from './diff';
65
import * as types from './diff/types';
76
import { deepEqual, diffKeyedEntities, unionOf } from './diff/util';

0 commit comments

Comments
 (0)