ec2-ami-backup
cloudposse/ec2-ami-backup/aws
Terraform module for automatic & scheduled AMI creation
[![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) terraform-aws-ec2-ami-backup    This repo contains a terraform module that creates two lambda functions that will create AMI automatically at regular intervals. It is based on the code at and . --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed
| Name | Type | Description | Default |
|---|---|---|---|
| instance_id | string | AWS Instance ID which is used for creating the AMI image (e.g. `id-123456789012` | required |
| ami_owner | string | AWS Account ID which is used as a filter for AMI list (e.g. `123456789012`) | "" |
| block_device_mappings | list | List of block device mappings to be included/excluded from created AMIs. With de | [] |
| reboot | string | Reboot the machine as part of the snapshot process | "false" |
| backup_schedule | string | The scheduling expression. (e.g. cron(0 20 * * ? *) or rate(5 minutes) | "cron(00 19 * * ? *)" |
| cleanup_schedule | string | The scheduling expression. (e.g. cron(0 20 * * ? *) or rate(5 minutes) | "cron(05 19 * * ? *)" |
| name | string | Name (e.g. `bastion` or `db`) | "" |
| namespace | string | Namespace (e.g. `cp` or `cloudposse`) | "" |
| stage | string | Stage (e.g. `prod`, `dev`, `staging`) | "" |
| region | string | AWS Region where module should operate (e.g. `us-east-1`) | "" |
| retention_days | string | Is the number of days you want to keep the backups for (e.g. `14`) | "14" |
Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,