Coder Social home page Coder Social logo

vlobachev / aws-terraform-module-ebs-volume-snapshots Goto Github PK

View Code? Open in Web Editor NEW

This project forked from osodevops/aws-terraform-module-ebs-volume-snapshots

0.0 1.0 0.0 5 KB

Lifecycle Manager using lifecycle policy for EBS Snapshots based on tag

HCL 100.00%

aws-terraform-module-ebs-volume-snapshots's Introduction

Snapshot policy

This module provides a snapshot backup policy that will applied to all volumes with the "backup: true" tag

Mechanism

Pre-requisites

All EC2 instances created with terraform should include the tag "backup: true"

Limitations

This iteration does not include the facility to have more than one backup schedule. This could be implemented by changing the tag requirements to "backup: 12", for example, and calling the module once for each backup period required, and including the period in the names of all resource names.

Example usage

In your Terrafom, call the module with the required variables.

module "ebs_volume_backups" {
    source                      = "git::ssh://[email protected]/osodevops/aws-terraform-module-s3.git/aws-terraform-module-ebs-volume-snapshots"
    snapshot_interval           = "24"
    snapshot_time               = "01:00"
    snapshot_number_retained    = "30"
    snapshot_tag                = "Backup"
}

aws-terraform-module-ebs-volume-snapshots's People

Contributors

basheer-urolime avatar sionsmith avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.