File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ provider:
66 region : us-west-2
77 deploymentBucket :
88 name : infra.opszero.com
9+ # environment:
10+ # DYNAMODB_TABLE_NAME: <service_name>-${sls:stage}
911 httpApi :
1012 cors : true
1113 # iamRoleStatements:
@@ -14,7 +16,7 @@ provider:
1416 # - dynamodb:*
1517 # Resource:
1618 # Fn::GetAtt:
17- # - sourcing
19+ # - oneTable
1820 # - Arn
1921 # - Effect: "Allow"
2022 # Action:
@@ -66,16 +68,20 @@ package:
6668
6769# resources:
6870# Resources:
69- # tableName :
71+ # oneTable :
7072# Type: AWS::DynamoDB::Table
7173# Properties:
72- # TableName: name
74+ # TableName: <service_name>-${sls:stage}
7375# AttributeDefinitions:
74- # - AttributeName: link
76+ # - AttributeName: pk
77+ # AttributeType: S
78+ # - AttributeName: sk
7579# AttributeType: S
7680# KeySchema:
77- # - AttributeName: link
81+ # - AttributeName: pk
7882# KeyType: HASH
83+ # - AttributeName: sk
84+ # KeyType: RANGE
7985# ProvisionedThroughput:
8086# ReadCapacityUnits: 3
8187# WriteCapacityUnits: 3
You can’t perform that action at this time.
0 commit comments