Skip to content

Commit 271a160

Browse files
DHAMODHARABALAJI RDHAMODHARABALAJI R
authored andcommitted
..
1 parent 480acdb commit 271a160

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

order-manager/template.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,9 @@ Resources:
3636
# Properties:
3737
# QueueName: OrderQueue
3838

39-
DynamoDBTable:
39+
DynamoDBOrdersTable:
4040
Type: AWS::Serverless::SimpleTable
4141
Properties:
42-
PointInTimeRecoverySpecification: PointInTimeRecoverySpecification
43-
PrimaryKey: PrimaryKeyObject
44-
ProvisionedThroughput: ProvisionedThroughput
45-
SSESpecification: SSESpecification
4642
TableName: OrdersTable
4743
Tags:
4844
AppGroup: OrdersLambda
@@ -58,6 +54,9 @@ Resources:
5854
MemorySize: 128
5955
Timeout: 10
6056
Policies:
57+
- DynamoDBCrudPolicy:
58+
TableName:
59+
!Ref DynamoDBOrdersTable
6160
- AWSLambdaVPCAccessExecutionRole
6261
- AmazonDynamoDBFullAccess
6362
- AWSLambdaSQSQueueExecutionRole

0 commit comments

Comments
 (0)