Skip to content

Commit

Permalink
Improve BillingMode replacement (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzlai authored Nov 13, 2024
1 parent 2c69375 commit ae4c7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ class ServerlessDynamoDBPlugin implements Plugin {
if (command['Tags']) {
delete command['Tags'];
}
if (command['BillingMode'] === 'PAY_PER_REQUEST') {
if (command['BillingMode'] !== 'PROVISIONED') {
delete command['BillingMode'];

const defaultProvisioning = {
Expand Down

0 comments on commit ae4c7f4

Please sign in to comment.