Switch the DynamoDB provisioning to on-demand for examples

No sense in these being provisioned
This commit is contained in:
R Tyler Croy 2023-12-12 10:31:24 -08:00
parent 6448997080
commit bfac6c2dd0
3 changed files with 3 additions and 3 deletions

View File

@ -114,4 +114,4 @@ a `.parquet` file is added to the bucket/prefix.
== Licensing
This repository is licensed under the link:https://www.gnu.org/licenses/agpl-3.0.en.html[AGPL 3.0]. If your organization is interested in re-licensing this function for re-use, contact me via email for commercial licensing terms: `rtyler@brokenco.de`
This repository is licensed under the link:https://www.gnu.org/licenses/agpl-3.0.en.html[AGPL 3.0]. If your organization is interested in re-licensing this function for re-use, contact me via email for commercial licensing terms: `rtyler@buoyantdata.com`

View File

@ -111,7 +111,7 @@ resource "aws_lambda_permission" "advanced-allow-bucket" {
# tables.
resource "aws_dynamodb_table" "oxbow_advanced_locking" {
name = "oxbow_advanced_lock_table"
billing_mode = "PROVISIONED"
billing_mode = "PAY_PER_REQUEST"
# Default name of the partition key hard-coded in delta-rs
hash_key = "key"
read_capacity = 10

View File

@ -112,7 +112,7 @@ resource "aws_iam_role" "iam_for_lambda" {
# tables.
resource "aws_dynamodb_table" "oxbow_locking" {
name = "oxbow_lock_table"
billing_mode = "PROVISIONED"
billing_mode = "PAY_PER_REQUEST"
# Default name of the partition key hard-coded in delta-rs
hash_key = "key"
read_capacity = 10