Changeset View
Changeset View
Standalone View
Standalone View
services/terraform/dynamodb.tf
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Lines | resource "aws_dynamodb_table" "identity-nonces" { | ||||
write_capacity = 10 | write_capacity = 10 | ||||
read_capacity = 10 | read_capacity = 10 | ||||
attribute { | attribute { | ||||
name = "nonce" | name = "nonce" | ||||
type = "S" | type = "S" | ||||
} | } | ||||
} | } | ||||
resource "aws_dynamodb_table" "feature-flags" { | |||||
name = "feature-flags" | |||||
hash_key = "platform" | |||||
range_key = "feature" | |||||
billing_mode = "PAY_PER_REQUEST" | |||||
attribute { | |||||
name = "platform" | |||||
type = "S" | |||||
} | |||||
attribute { | |||||
name = "feature" | |||||
type = "S" | |||||
} | |||||
} |