Skip to content

Commit 82f3195

Browse files
authored
create-amplify's data resource to use identityPool default authz (#2595)
1 parent 4c8829d commit 82f3195

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/five-dancers-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-amplify': patch
3+
---
4+
5+
update create-amplify template's data resource to use "identityPool" as the default authorization mode

packages/create-amplify/templates/basic-auth-data/amplify/data/resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export type Schema = ClientSchema<typeof schema>;
1919
export const data = defineData({
2020
schema,
2121
authorizationModes: {
22-
defaultAuthorizationMode: 'iam',
22+
defaultAuthorizationMode: 'identityPool',
2323
},
2424
});
2525

0 commit comments

Comments
 (0)