Skip to content

Instantly share code, notes, and snippets.

View toddc-unity3d's full-sized avatar

Todd Carr toddc-unity3d

View GitHub Profile
@toddc-unity3d
toddc-unity3d / mfa-delete.rb
Last active August 29, 2015 14:06 — forked from petethepig/mfa-delete.rb
Essentially the same MFA Delete enable script but updated the require to 'aws-sdk.'
#!/usr/bin/env ruby
require 'aws-sdk'
if ARGV.length < 5
print <<-EOF
Usage: mfa-delete.rb <bucket_name> <aws_id> <aws_secret> <mfa_serial> <mfa_token> <s3_endpoint>
<s3_endpoint> is optional
EOF
exit
end
# <states>/top.sls
```
base:
'*':
- hosts
```
# <states>/hosts/init.sls
```
include: