Skip to content

Commit ae4c7f4

Browse files
authored
Improve BillingMode replacement (#54)
1 parent 2c69375 commit ae4c7f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ class ServerlessDynamoDBPlugin implements Plugin {
384384
if (command['Tags']) {
385385
delete command['Tags'];
386386
}
387-
if (command['BillingMode'] === 'PAY_PER_REQUEST') {
387+
if (command['BillingMode'] !== 'PROVISIONED') {
388388
delete command['BillingMode'];
389389

390390
const defaultProvisioning = {

0 commit comments

Comments
 (0)