Skip to content

Commit aa255bb

Browse files
authored
chore: switch to SimpleTable in gql integ tests (#3279)
1 parent 42edec0 commit aa255bb

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

integration/resources/templates/combination/graphqlapi_pipeline_resolver.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,30 +26,10 @@ Resources:
2626
ApiId: !GetAtt SuperCoolAPI.ApiId
2727

2828
DynamoDBPostsTable:
29-
Type: AWS::DynamoDB::Table
30-
Properties:
31-
AttributeDefinitions:
32-
- AttributeName: id
33-
AttributeType: S
34-
KeySchema:
35-
- AttributeName: id
36-
KeyType: HASH
37-
ProvisionedThroughput:
38-
ReadCapacityUnits: 5
39-
WriteCapacityUnits: 5
29+
Type: AWS::Serverless::SimpleTable
4030

4131
DynamoDBPostsLogTable:
42-
Type: AWS::DynamoDB::Table
43-
Properties:
44-
AttributeDefinitions:
45-
- AttributeName: id
46-
AttributeType: S
47-
KeySchema:
48-
- AttributeName: id
49-
KeyType: HASH
50-
ProvisionedThroughput:
51-
ReadCapacityUnits: 5
52-
WriteCapacityUnits: 5
32+
Type: AWS::Serverless::SimpleTable
5333

5434
SuperCoolAPI:
5535
Type: AWS::Serverless::GraphQLApi
@@ -88,10 +68,8 @@ Resources:
8868
DynamoDb:
8969
PostsDataSource:
9070
TableName: !Ref DynamoDBPostsTable
91-
TableArn: !GetAtt DynamoDBPostsTable.Arn
9271
PostsLogDataSource:
9372
TableName: !Ref DynamoDBPostsLogTable
94-
TableArn: !GetAtt DynamoDBPostsLogTable.Arn
9573
Functions:
9674
createPostItem:
9775
Runtime:

0 commit comments

Comments
 (0)