From 7ab019bfd8fef64d5539778684176ea61e0a2aaa Mon Sep 17 00:00:00 2001 From: lenape Date: Sat, 12 Jul 2025 10:04:56 +0000 Subject: [PATCH] automated terminal push --- Jenkinsfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 74a5974..be34b4d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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