Skip to content

Commit fbfb4c9

Browse files
committed
docs: rename appName to trimmedAppName in admin role pattern
--- Prompt: Change appName to trimmedAppName.
1 parent 2a4a772 commit fbfb4c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

GEN2_MIGRATION_GUIDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ on the Gen1 API that matches the Gen2 `AuthRole` naming pattern:
159159

160160
```json
161161
{
162-
"adminRoleNames": ["amplify-${appName}"]
162+
"adminRoleNames": ["amplify-${trimmedAppName}"]
163163
}
164164
```
165165

166-
> Where `${appName}` is the first 10 characters of your Gen1 application name. Gen2 role names
166+
> Where `${trimmedAppName}` is the first 10 characters of your Gen1 application name. Gen2 role names
167167
> are trimmed to this prefix, so this pattern allows access from **any** Gen2 environment (branch).
168168

169169
Once added, redeploy the app by running `amplify push`.

0 commit comments

Comments
 (0)