以下のエラーが発生したときに、serverless.yml を使用して 24 の DynamoDB テーブルを作成しようとしていました。どうすればこれを回避できますか?
Serverless: Checking Stack update progress…
.................................................................Serverless: Deployment failed!
Serverless Error ---------------------------------------
An error occurred while provisioning your stack: TestUserTable
- Subscriber limit exceeded: Only 10 tables can be created,
updated, or deleted simultaneously.
Your Environment Information -----------------------------
OS: linux
Node Version: 6.6.0
Serverless Version: 1.1.0
これは Cloudformation の一般的な問題のようです。AWS フォーラムの回避策は次のとおりです: https://forums.aws.amazon.com/thread.jspa?threadID=167996
追加してみましdependson
たが、それでも問題は解決しません。
次のエラーが表示されます
ServerlessError: Template format error: Unresolved resource dependencies [Dev1ProductTables] in the Resources block of the template
引用DependsOn: "DevPolicyTable"
符を付けても違いはありません
resources:
Resources:
DevUserTable:
Type: "AWS::DynamoDB::Table"
DependsOn: DevPolicyTable
Properties:
AttributeDefinitions:
- AttributeName: "id"
AttributeType: "S"
KeySchema:
- AttributeName: "id"
KeyType: "HASH"
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
TableName: "b1-dev-user"
DevPolicyTable:
Type: "AWS::DynamoDB::Table"
DependsOn: DevClaimTable
Properties:
AttributeDefinitions:
- AttributeName: "id"
AttributeType: "S"
KeySchema:
- AttributeName: "id"
KeyType: "HASH"
ProvisionedThroughput:
ReadCapacityUnits: 1
WriteCapacityUnits: 1
TableName: "b1-dev-policy"