Skip to content

Commit

Permalink
Revert "tmp"
Browse files Browse the repository at this point in the history
This reverts commit 9e74b05.
  • Loading branch information
TimQuelch committed Nov 8, 2023
1 parent ba9ba7a commit e53f41c
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import * as path from 'path';
import * as db from 'aws-cdk-lib/aws-dynamodb';
import * as cdk from 'aws-cdk-lib';
import * as appsync from 'aws-cdk-lib/aws-appsync';
import * as iam from 'aws-cdk-lib/aws-iam';

/*
* Creates an Appsync GraphQL API in a separate stack.
Expand Down Expand Up @@ -88,8 +87,4 @@ new appsync.Resolver(stack, 'pipeline_resolver', {
})),
});

const role = new iam.Role(stack, 'role', { assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com') });
api.grantQuery(role, 'getTests');
api.grantMutation(role, 'addTest');

app.synth();

0 comments on commit e53f41c

Please sign in to comment.