diff --git a/packages/amplify-provider-awscloudformation/package.json b/packages/amplify-provider-awscloudformation/package.json index b8c7967f4f1..77b3ca47df7 100644 --- a/packages/amplify-provider-awscloudformation/package.json +++ b/packages/amplify-provider-awscloudformation/package.json @@ -43,7 +43,6 @@ "aws-sdk": "^2.1233.0", "bottleneck": "2.19.5", "chalk": "^4.1.1", - "cloudform": "^4.2.0", "cloudform-types": "^4.2.0", "columnify": "^1.5.4", "constructs": "^10.0.5", diff --git a/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/diff-test-helper.ts b/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/diff-test-helper.ts index 087cf6573b1..2fef4b9c619 100644 --- a/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/diff-test-helper.ts +++ b/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/diff-test-helper.ts @@ -1,5 +1,5 @@ import { diff as getDiffs } from 'deep-diff'; -import { DynamoDB } from 'cloudform'; +import { DynamoDB } from 'cloudform-types'; import { $TSAny } from 'amplify-cli-core'; import * as gsiTestHelper from './gsi-test-helpers'; import { DiffableProject } from '../../graphql-resource-manager/utils'; diff --git a/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/gsi-test-helpers.ts b/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/gsi-test-helpers.ts index db21c73ae97..e684c901f77 100644 --- a/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/gsi-test-helpers.ts +++ b/packages/amplify-provider-awscloudformation/src/__tests__/graphql-resource-manager/gsi-test-helpers.ts @@ -1,4 +1,4 @@ -import { DynamoDB } from 'cloudform'; +import { DynamoDB } from 'cloudform-types'; import { GlobalSecondaryIndex, AttributeDefinition } from 'cloudform-types/types/dynamoDb/table'; export type GSIDefinition = { diff --git a/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/dynamodb-gsi-helpers.ts b/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/dynamodb-gsi-helpers.ts index 415631b8586..3549ff16661 100644 --- a/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/dynamodb-gsi-helpers.ts +++ b/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/dynamodb-gsi-helpers.ts @@ -1,5 +1,5 @@ import { AttributeDefinition, GlobalSecondaryIndex, KeySchema } from 'cloudform-types/types/dynamoDb/table'; -import { DynamoDB, IntrinsicFunction } from 'cloudform'; +import { DynamoDB, IntrinsicFunction } from 'cloudform-types'; import _ from 'lodash'; import { AmplifyError, AMPLIFY_SUPPORT_DOCS } from 'amplify-cli-core'; diff --git a/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/gsi-diff-helpers.ts b/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/gsi-diff-helpers.ts index c80d85d4e64..e9c658803ef 100644 --- a/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/gsi-diff-helpers.ts +++ b/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/gsi-diff-helpers.ts @@ -1,6 +1,6 @@ import * as _ from 'lodash'; -import { DynamoDB, IntrinsicFunction } from 'cloudform'; +import { DynamoDB, IntrinsicFunction } from 'cloudform-types'; import { GlobalSecondaryIndex } from 'cloudform-types/types/dynamoDb/table'; import { diff as getDiffs } from 'deep-diff'; diff --git a/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/utils.ts b/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/utils.ts index cdf9f4d51e1..70e9cc54d10 100644 --- a/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/utils.ts +++ b/packages/amplify-provider-awscloudformation/src/graphql-resource-manager/utils.ts @@ -1,7 +1,7 @@ import fs from 'fs-extra'; import * as path from 'path'; import { JSONUtilities } from 'amplify-cli-core'; -import { Template } from 'cloudform'; +import { Template } from 'cloudform-types'; import { Diff, diff as getDiffs } from 'deep-diff'; const ROOT_STACK_FILE_NAME = 'cloudformation-template.json';