From 599ccb2328268fa2a840869a9fc0b694c184dded Mon Sep 17 00:00:00 2001 From: xpk Date: Mon, 10 Aug 2020 15:29:36 +0800 Subject: [PATCH] UPD: minor update --- 000-state-setup/s3-state.tf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/000-state-setup/s3-state.tf b/000-state-setup/s3-state.tf index 1e35b91..b243e95 100644 --- a/000-state-setup/s3-state.tf +++ b/000-state-setup/s3-state.tf @@ -22,14 +22,14 @@ resource "aws_s3_bucket" "state" { } } -resource "aws_dynamodb_table" "statelock-sandbox-HKEX" { - name = "statelock-sandbox-HKEX-${random_integer.suffix.result}" - read_capacity = 20 - write_capacity = 20 - hash_key = "LockId" +resource "aws_dynamodb_table" "statelock" { + name = "tflock-sandbox-HKEX-${random_integer.suffix.result}" + read_capacity = 10 + write_capacity = 10 + hash_key = "LockID" attribute { - name = "LockId" + name = "LockID" type = "S" } @@ -41,5 +41,5 @@ output "state_bucket" { } output "lock_db" { - value = aws_dynamodb_table.statelock-sandbox-HKEX.name + value = aws_dynamodb_table.statelock.name }