Skip to content

Commit

Permalink
fix(cloudformation-diff): Fix aws-sdk dependency issue (#28680)
Browse files Browse the repository at this point in the history
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*
  • Loading branch information
frankpengau committed Jan 16, 2024
1 parent db2e78e commit 109b2ab
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/@aws-cdk/cloudformation-diff/lib/diff-template.ts
@@ -1,7 +1,6 @@
// The SDK is only used to reference `DescribeChangeSetOutput`, so the SDK is added as a devDependency.
// The SDK should not make network calls here
// eslint-disable-next-line import/no-extraneous-dependencies
import { CloudFormation } from 'aws-sdk';
import type { CloudFormation } from 'aws-sdk';
import * as impl from './diff';
import * as types from './diff/types';
import { deepEqual, diffKeyedEntities, unionOf } from './diff/util';
Expand Down

0 comments on commit 109b2ab

Please sign in to comment.