continuousphp / aws-cf-killer
AWS Cloud Formation killer
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.6.0
- aws/aws-sdk-php: ~3.0
- doctrine/collections: ~1.0
- zendframework/zend-filter: ~2.6
- zendframework/zend-hydrator: ~2.0
- zendframework/zend-servicemanager: ~3.0
Requires (Dev)
- mikey179/vfsstream: ~1.6
- phpunit/phpunit: ~5.0
- squizlabs/php_codesniffer: ^2.3
This package is not auto-updated.
Last update: 2020-01-05 14:38:22 UTC
README
An application to delete running stacks based on tags matching
Requirements
- PHP 5.6+
Installation
- Download Composer:
curl -sS https://getcomposer.org/composer.phar -o composer.phar
- Install the Deploy Agent:
php composer.phar create-project -s dev --no-dev continuousphp/aws-cf-killer
Setup the application
Create a config/local.php
file as following:
<?php return [ // AWS SDK configuration as describe in the doc 'aws' => [ 'region' => 'us-east-1', 'credentials' => [ 'key' => 'XXXXXXXXXXXXXXXXXXXX', 'secret' => 'ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ' ] ], // tags to match for deletion 'tags' => [ 'env' => 'acceptance' ] ];
More information about AWS SDK configuration could be found here
Start using with: ./bin/kill