dynamodb-replication

Adaptavist/dynamodb-replication/module

Terraform Module HCL MODULE
Install
module "dynamodb-replication" {
source = "Adaptavist/dynamodb-replication/module"
version = "1.1.4"
}
plain text: /constructs/tfmod-adaptavist-dynamodb-replication-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform module that manages DynamoDB data migration and ongoing replication Based on https://aws.amazon.com/blogs/database/cross-account-replication-with-amazon-dynamodb/ https://github.com/aws-samples/cross-account-amazon-dynamodb-replication !DynamoDB replication Pre-requisites Enable dynamoDB streams on the source dynamoDB table Create an IAM role in the target account that has full access to the target dynamoDB table. This role will be assumed by the glue job during the initial migration and the lambda during the ongoing replication. Post-migration All resources should be deleted once the dynamoDB replication is no longer required. Perform terraform destroy on this module (or just dereference it from your stack and let terraform tidy the resources up) Disable the source table dynamoD

Inputs (13)
NameTypeDescriptionDefault
target_role_arnstringTarget IAM Role name to be assumed by Lambda function and a Glue job required
stagestringDeployment stage required
initial_load_subnetstringSubnet for the initial load ECS task required
initial_load_sgstringSecurity group for the initial load ECS task required
target_dynamodb_table_namestringTarget DynamoDB Table name required
target_accountstringTarget AWS Account Number required
source_table_stream_arnstringSource Dynamo DB table stream ARN required
source_table_namestringSource Dynamo DB table name required
tagsmap(string)A map of tags to assign to the resource. required
namespacestringNamespace this resources belong to required
stage_typestringDeployment stage type required
target_regionstringThe region for the target DynamoDB table required
enabledboolIndicates if the replication is enabledfalse
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.4
Cloud MODULE
★ Stars1
Forks3
Total downloads3.0k
Inputs13
Examples2
Submodules6
LicenseApache-2.0
NamespaceAdaptavist
Updated