Sam Hulick
08/24/2021, 6:38 PMdev-microservices-core | UPDATE_ROLLBACK_IN_PROGRESS | AWS::CloudFormation::Stack | dev-microservices-core Export dev-microservices-core:ExportsOutputRefUploadBucketB0FBA0377290D88A cannot be deleted as it is in use by dev-microservices-media-processor
there’s some weird dependency thing going on here and I don’t understand it.Sam Hulick
08/24/2021, 6:39 PMyarn start
)
videoUpdateRule.addTarget(
new eventsTargets.LambdaFunction(
new sst.Function(this, 'VideoUpdateHandlerFunc', {
functionName: `${this.stackName}-videoProcUpdateHandler`,
srcPath,
handler: `${handlerPrefix}/video-process-update.main`,
environment: {
GRAPHQL_ENDPOINT_URL: props!.appSyncApi.url,
STAGING_BUCKET: props!.uploadBucket.bucketName,
},
// permissions: [
// [props!.appSyncApi.graphqlApi, 'grantMutation'],
// [props!.uploadBucket.s3Bucket, 'grantDelete'],
// [props!.storageBucket.s3Bucket, 'grantRead'],
// ],
})
)
);
Sam Hulick
08/24/2021, 6:40 PMenvironment
block. and that’s where I get that errorSam Hulick
08/24/2021, 6:42 PMuploadBucket
which was created in the Core stack, an export is created in Core. and then I try to remove the reference to that bucket in MediaProcessor, so it has to delete the export from Core.. which says it can’t because MediaProcessor depends on it. but I’m literally trying to remove that dependency 🤯Sam Hulick
08/24/2021, 6:44 PMSam Hulick
08/24/2021, 6:45 PMSam Hulick
08/24/2021, 6:52 PMuploadBucket
in the MediaProcessor stack, and i still can’t deploy 😕Sam Hulick
08/24/2021, 7:09 PM