mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-10-01 04:53:12 +00:00
Replace the mgmt SAM stack with a prod-only HCP workspace, in-repo hcptf IAM, stub Lambdas, and zip CD on push to main.
21 lines
329 B
HCL
21 lines
329 B
HCL
resource "aws_dynamodb_table" "shifts" {
|
|
name = local.table_name
|
|
billing_mode = "PAY_PER_REQUEST"
|
|
hash_key = "PK"
|
|
range_key = "SK"
|
|
|
|
attribute {
|
|
name = "PK"
|
|
type = "S"
|
|
}
|
|
|
|
attribute {
|
|
name = "SK"
|
|
type = "S"
|
|
}
|
|
|
|
ttl {
|
|
attribute_name = "expires_at"
|
|
enabled = true
|
|
}
|
|
}
|