Skip to content

Commit

Permalink
Updated Policy Name to match new parameter format.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhboyd authored Jul 21, 2019
1 parent d1e63af commit 83e181e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typescript/appsync-graphql-dynamodb/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class AppSyncCdkStack extends cdk.Stack {
assumedBy: new ServicePrincipal('appsync.amazonaws.com')
});

itemsTableRole.addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName('arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess'));
itemsTableRole.addManagedPolicy(ManagedPolicy.fromAwsManagedPolicyName('AmazonDynamoDBFullAccess'));

const dataSource = new CfnDataSource(this, 'ItemsDataSource', {
apiId: itemsGraphQLApi.attrApiId,
Expand Down

0 comments on commit 83e181e

Please sign in to comment.