automated terminal push

This commit is contained in:
lenape
2025-07-12 10:04:56 +00:00
parent d70565d921
commit 7ab019bfd8

7
Jenkinsfile vendored
View File

@@ -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 pointintime 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