automated terminal push
This commit is contained in:
1 parent
d70565d921
commit
7ab019bfd8
1 file changed
+5
-2
Vendored
+5
-2
@@ -111,10 +111,13 @@ pipeline {
|
||||
--key-schema AttributeName=LockID,KeyType=HASH \
|
||||
--billing-mode PAY_PER_REQUEST
|
||||
|
||||
echo "Enabling point-in-time recovery..."
|
||||
echo "Waiting for DynamoDB table to become ACTIVE..."
|
||||
aws dynamodb wait table-exists --table-name $TF_DDB_TABLE
|
||||
|
||||
echo "Enabling point‑in‑time recovery..."
|
||||
aws dynamodb update-continuous-backups \
|
||||
--table-name $TF_DDB_TABLE \
|
||||
--point-in-time-recovery-specification Enabled=true
|
||||
--point-in-time-recovery-specification PointInTimeRecoveryEnabled=true
|
||||
else
|
||||
echo "DynamoDB table $TF_DDB_TABLE already exists."
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user