aws-cloudformation / cloudformation-coverage-roadmap

The AWS CloudFormation Public Coverage Roadmap
https://aws.amazon.com/cloudformation/
Creative Commons Attribution Share Alike 4.0 International
1.1k stars 54 forks source link

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

Open kddejong opened 6 months ago

kddejong commented 6 months ago

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