aws-cloudformation / aws-cloudformation/cloudformation-coverage-roadmap

AWS::DynamoDB::GlobalTable - Issues creating global tables with Provisioned BillingMode tables

Open
#1,982 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.1k
Forks
62
PR merge metrics
No merged PRs in 30d

Description

When trying to create a global table stack without the billing mode it defaults to Provisioned or even whan I set it to Provisioned Cloudformation complains
that:
`You must specify ReadCapacityUnits or ReadCapacityAutoScalingSettings for each global table replica and each of its GSIs when BillingMode is Provisioned `

When I add either one of those to the template I get this error:
`TestDynamoDBGlobalTable with message: #: extraneous key [ReadCapacityAutoScalingSettings/ReadCapacityUnits] is not permitted` it's the same if I use the ReadProvisionedThroughputSettings key.

These docs https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-globaltable.html don't have them in the example but do have them on the dropdown options on the left hand side menu

I know I can set BillingMode to `PAY_PER_REQUEST` but wanted to know if this is an issue or if there is a way around it.

_Originally posted by @mm326 in https://github.com/aws-cloudformation/cloudformation-coverage-roadmap/issues/57#issuecomment-973966306_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.