Git Product home page Git Product logo

awstagging's Introduction

Python script to tag EBS with all the tags from the instance and Snapshots with tags from AMI

Repo created by Ben Szutu [email protected] Credit for the script is within the script comment

This repository contains the source code for the awstagging

Files

The following files are located in this repo:

  • tagging.py - the python script that can be ran from command line to tag the EBS and the Snapshot
  • README.md - this file

How does it work

The tagging function will search all of your EBS and tag them with tags the parent instances and it will search all of your snapshot and tag them with tags from the parent AMI

For any resource (EBS or Snapshot) that does not have a parent. EBS not associated with an instance or snapshot that has it's parent AMI deregistered, it will mark it as "UNUSED" so it can be cleaned up

To use as a lambda function

this function can be easily adapted to lambda by adding in the missing lambda define

awstagging's People

Contributors

bszutu avatar

Stargazers

JazCrypto 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.