Skip to content

Instantly share code, notes, and snippets.


Simone Pasquini pasquinis

View GitHub Profile

Please publicly post the following Gist, and name it

Keybase proof

I hereby claim:

pasquinis / destroy_it.rb
Created Jun 13, 2014
Simple way to terminate an IT environment into AWS
View destroy_it.rb
require 'rubygems'
require 'aws-sdk'
secret_access_key = ENV['AWS_SECRET_KEY']
access_key_id = ENV['AWS_ACCESS_KEY']
config = {
:access_key_id => access_key_id,
:secret_access_key => secret_access_key,
:region => 'eu-west-1',
:log_level => 'debug'