diff --git a/packages/amplify-cli/src/extensions/amplify-helpers/resource-status-data.ts b/packages/amplify-cli/src/extensions/amplify-helpers/resource-status-data.ts index ac154cd9fae..96d2cd2c6a9 100644 --- a/packages/amplify-cli/src/extensions/amplify-helpers/resource-status-data.ts +++ b/packages/amplify-cli/src/extensions/amplify-helpers/resource-status-data.ts @@ -212,7 +212,8 @@ export function getResourcesToBeCreated(amplifyMeta, currentAmplifyMeta, categor (!amplifyMeta[dependsOnCategory][dependsOnResourcename]?.lastPushTimeStamp || !currentAmplifyMeta[dependsOnCategory] || !currentAmplifyMeta[dependsOnCategory][dependsOnResourcename]) && - amplifyMeta[dependsOnCategory][dependsOnResourcename].serviceType !== 'imported' + amplifyMeta[dependsOnCategory][dependsOnResourcename].serviceType !== 'imported' && + !resources.includes(amplifyMeta[dependsOnCategory][dependsOnResourcename]) ) { resources.push(amplifyMeta[dependsOnCategory][dependsOnResourcename]); }