Summary: terraform module for aws rds snapshot account share utility
- General Info
- Technologies Used
- Features
- Usage
- Requirements
- Providers
- Modules
- Resources
- Inputs
- Outputs
- Project Status
- deploy lambda python function used to copy latest snapshot from rds mysql and aurora database and share with aws account
- terraform
- github actions
- Lambda
- python
- deploy lambda python function
- rds lambda function gets latest snapshot and shares with another aws account
- iam policy required to use rds snapshot resources
- look at examples/complete/main.tf for usage
No requirements.
Name | Version |
---|---|
aws | n/a |
random | n/a |
Name | Source | Version |
---|---|---|
rds_snapshot_account_share_lambda | github.com/champ-oss/terraform-aws-lambda.git | v1.0.96-782138d |
Name | Type |
---|---|
aws_iam_policy.this | resource |
aws_iam_role_policy_attachment.this | resource |
random_string.identifier | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
aws_shared_account | snapshot aws account share | string |
"" |
no |
enable_lambda_cw_event | enable or disable cloudwatch event trigger for lambda | bool |
true |
no |
git | Name of the Git repo | string |
"terraform-aws-mysql" |
no |
kms_key_id | kms key id | string |
"" |
no |
lambda_policy | point to data.aws_iam_policy_document.custom.json | any |
null |
no |
private_subnet_ids | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_subnet_group#subnet_ids | list(string) |
n/a | yes |
rds_snapshot_account_share_docker_tag | Docker tag of rds snapshot share code to deploy | string |
"928ed26a36bd0dd7c55e21b7aa9b455d8f0133e1" |
no |
schedule_expression | event schedule for lambda | string |
"cron(0 5,6,7,8 * * ? *)" |
no |
tags | Map of tags to assign to resources | map(string) |
{} |
no |
timeout | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/lambda_function#timeout | number |
300 |
no |
vpc_id | https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group#vpc_id | string |
n/a | yes |
No outputs.
Project is: in_progress