A GitHub workflow to back up and restore all the DynamoDB tables in AWS (2nd part).

Step by step.

Alex
3 min readAug 10, 2024
A GitHub Action Workflow to restore AWS DynamoDB.

The first part is here, in this second and final part of this how-to, we are going to conclude the workflow to tie our scripts and add some secrets for security reasons.

Because AWS CodeCommit is being deprecated Github and Github Actions are going to take more relevance. I´m pretty sure.

The code is on my GitHub repo.

The Workflow

Below is the code, this workflow asks the user for some input. Another important consideration is that we need a mechanism to connect to AWS.

Fortunately, there is already an action for this purpose.

If you haven't visited the Github actions marketplace, this is a great opportunity, to re-use pre-made actions saves a lot of time.

name: Backup and Restore Dynamo Tables Workflow

on:

workflow_dispatch:
inputs:
aws_region:
description: 'Choose the AWS region'
required: true…

--

--

Alex
Alex

Written by Alex

DevOps Lead @evinova, former Dynatrace Solutions Engineer. Cheerleader in Chief for KMMX, Technical Writer & International Speaker, Dad & 2 cats.