cloudposse / terraform-aws-dynamodb

Terraform module that implements AWS DynamoDB with support for AutoScaling
https://cloudposse.com/accelerate
Apache License 2.0
86 stars 113 forks source link

Don't set read/write capacity in PAY_PER_REQUEST billing mode #101

Closed alexjurkiewicz closed 2 years ago

alexjurkiewicz commented 2 years ago

This causes errors at plan-time now:

Error: 2 errors occurred:
    * read_capacity can not be set when billing_mode is "PAY_PER_REQUEST"
    * write_capacity can not be set when billing_mode is "PAY_PER_REQUEST"

  with module.dynamodb_table.aws_dynamodb_table.default[0],
  on .terraform/modules/dynamodb_table/main.tf line 46, in resource "aws_dynamodb_table" "default":
  46: resource "aws_dynamodb_table" "default" {
Gowiem commented 2 years ago

/test all

Gowiem commented 2 years ago

@alexjurkiewicz our validate check got stuck. Mind pushing an empty commit to try and trigger it again?

alexjurkiewicz commented 2 years ago

done

On Wed, 26 Jan 2022 at 04:41, Matt Gowie @.***> wrote:

@alexjurkiewicz https://github.com/alexjurkiewicz our validate check got stuck. Mind pushing an empty commit to try and trigger it again?

— Reply to this email directly, view it on GitHub https://github.com/cloudposse/terraform-aws-dynamodb/pull/101#issuecomment-1021445226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC4U5OIWISHL576VTMA7C3UX3OEBANCNFSM5MXWQ2BA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

Gowiem commented 2 years ago

/test all

alexjurkiewicz commented 2 years ago

thanks!