automated terminal push
This commit is contained in:
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@@ -111,10 +111,13 @@ pipeline {
|
|||||||
--key-schema AttributeName=LockID,KeyType=HASH \
|
--key-schema AttributeName=LockID,KeyType=HASH \
|
||||||
--billing-mode PAY_PER_REQUEST
|
--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 \
|
aws dynamodb update-continuous-backups \
|
||||||
--table-name $TF_DDB_TABLE \
|
--table-name $TF_DDB_TABLE \
|
||||||
--point-in-time-recovery-specification Enabled=true
|
--point-in-time-recovery-specification PointInTimeRecoveryEnabled=true
|
||||||
else
|
else
|
||||||
echo "DynamoDB table $TF_DDB_TABLE already exists."
|
echo "DynamoDB table $TF_DDB_TABLE already exists."
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user