Storage definition with multiple path authorisation types throws a circular dependency error. #2307
Labels
pending-response
Issue is pending response from author
pending-triage
Incoming issues that need categorization
sandbox
Related to the sandbox experience
Environment information
Error output
Error: ❌ amplify-awsamplifygen2-sandbox-a0b1e796f6 failed: ValidationError: Circular dependency between resources: [storage0EC3F24A, auth179371D7, MSCustomStack0E6FAF4A, data7552DF31, MediaConverterStackB4ED21B8, DataBackupStack16EBFB3F]
Caused By: ❌ amplify-awsamplifygen2-sandbox-a0b1e796f6 failed: ValidationError: Circular dependency between resources: [storage0EC3F24A, auth179371D7, MSCustomStack0E6FAF4A, data7552DF31, MediaConverterStackB4ED21B8, DataBackupStack16EBFB3F]
Describe the bug
The following storage definition causes a circular dependency issue when adding allow.guest.to(['read']) and deployment of the amplify project fails.
Reproduction steps
The text was updated successfully, but these errors were encountered: