UPD: minor update
This commit is contained in:
@@ -22,14 +22,14 @@ resource "aws_s3_bucket" "state" {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "aws_dynamodb_table" "statelock-sandbox-HKEX" {
|
resource "aws_dynamodb_table" "statelock" {
|
||||||
name = "statelock-sandbox-HKEX-${random_integer.suffix.result}"
|
name = "tflock-sandbox-HKEX-${random_integer.suffix.result}"
|
||||||
read_capacity = 20
|
read_capacity = 10
|
||||||
write_capacity = 20
|
write_capacity = 10
|
||||||
hash_key = "LockId"
|
hash_key = "LockID"
|
||||||
|
|
||||||
attribute {
|
attribute {
|
||||||
name = "LockId"
|
name = "LockID"
|
||||||
type = "S"
|
type = "S"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -41,5 +41,5 @@ output "state_bucket" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
output "lock_db" {
|
output "lock_db" {
|
||||||
value = aws_dynamodb_table.statelock-sandbox-HKEX.name
|
value = aws_dynamodb_table.statelock.name
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user