Skip to content

Commit

Permalink
Switch the DynamoDB provisioning to on-demand for examples
Browse files Browse the repository at this point in the history
No sense in these being provisioned
  • Loading branch information
rtyler committed Dec 12, 2023
1 parent 6448997 commit bfac6c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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`
2 changes: 1 addition & 1 deletion deployment/advanced.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion deployment/simple.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bfac6c2

Please sign in to comment.