Skip to content

opszero/terraform-aws-rds-cross-region-backup

Repository files navigation

Releasing

  • Update .chalice/config.json
  • Add a stage with the appropriate environment variables
  • make deploy-AWSPROFILE

rds-cross-region-backup

Deployment via Terraform

terraform init
terraform plan
terraform apply -auto-approve

Teardown

terraform destroy -auto-approve

Providers

Name Version
aws n/a

Inputs

Name Description Type Default Required
account AWS Account ID any n/a yes
instances List of RDS instances any n/a yes
kms_key_id The ID of KMS key any n/a yes
source_region The AWS region where the source RDS instance exists any n/a yes
target_region The AWS region where you want to copy RDS backups any n/a yes

Resources

Name Type
aws_cloudwatch_event_rule.every_five_days resource
aws_cloudwatch_event_target.rds_cross_region_backup resource
aws_iam_policy.iam_policy_for_lambda resource
aws_iam_role.lambda_role resource
aws_iam_role_policy_attachment.attach_iam_policy_to_iam_role resource
aws_lambda_function.rds_cross_region_backup resource
aws_lambda_permission.allow_cloudwatch_to_call_rds_cross_region_backup resource

Outputs

No outputs.

🚀 Built by opsZero!

Since 2016 opsZero has been providing Kubernetes expertise to companies of all sizes on any Cloud. With a focus on AI and Compliance we can say we seen it all whether SOC2, HIPAA, PCI-DSS, ITAR, FedRAMP, CMMC we have you and your customers covered.

We provide support to organizations in the following ways:

We do this with a high-touch support model where you:

  • Get access to us on Slack, Microsoft Teams or Email
  • Get 24/7 coverage of your infrastructure
  • Get an accelerated migration to Kubernetes

Please schedule a call if you need support.