Skip to content

Commit

Permalink
fix: updated Policy Name to match new parameter format (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhboyd authored and rix0rrr committed Sep 17, 2019
1 parent 96c5cbc commit 38ab358
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 @@ -63,7 +63,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 38ab358

Please sign in to comment.