We help companies build, run, deploy and scale software and infrastructure by embracing the right technologies and principles. Check out our website at https://lablabs.io/
Terraform module for creating RDS snapshots and shipping them to another account for auditing/archival purposes. Works with terraform-aws-rds-snapshotting-target which has to be deployed to the targer (audit) account.
- creates a lambda function that periodically takes RDS snapshots
No requirements.
Name | Version |
---|---|
aws | n/a |
No Modules.
Name |
---|
aws_cloudwatch_event_rule |
aws_cloudwatch_event_target |
aws_cloudwatch_log_group |
aws_iam_policy |
aws_iam_role |
aws_iam_role_policy_attachment |
aws_lambda_function |
aws_lambda_permission |
Name | Description | Type | Default | Required |
---|---|---|---|---|
db_cluster_name | n/a | any |
n/a | yes |
db_snapshot_retention_days | n/a | any |
n/a | yes |
lambda_schedule | n/a | string |
"cron(0 * * * ? *)" |
no |
region | n/a | any |
n/a | yes |
target_account | n/a | any |
n/a | yes |
target_sns_topic_arn | n/a | any |
n/a | yes |
No output.
Feel free to create an issue in this repository if you have questions, suggestions or feature requests.
- use
asdf
to install necessary go version - compile go code
- zip compiled code and push to the repository
asdf install
GOARCH=amd64 GOOS=linux go build -o bootstrap main.go
zip lambda.zip bootstrap
See LICENSE for full details.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.