codraw / aws-tool-kit
This package offer a few AWS tool kit.
0.40.3
2026-07-26 23:50 UTC
Requires
- aws/aws-sdk-php: ^3.171
- symfony/console: ^7.4.0
- symfony/event-dispatcher: ^7.4.0
Requires (Dev)
- codraw/core: ^0.40
- codraw/dependency-injection: ^0.40
- codraw/tester: ^0.40
- phpunit/phpunit: ^12.5
- symfony/cache: ^7.4.0
- symfony/http-client: ^7.4.0
- symfony/http-client-contracts: ^3.4
Suggests
- aws/aws-sdk-php-symfony: To configure aws-sdk-php into symfony
Conflicts
Replaces
- draw/aws-tool-kit: 0.40.3
This package is auto-updated.
Last update: 2026-07-27 02:09:32 UTC
README
Multiple tools related to Aws infrastructure.
draw:aws:cloud-watch-logs:download
Allow to download a cloud watch log locally.
A user case would be to download slow query log from a rds cluster and aggregate them locally
bin/console draw:aws:cloud-watch-logs:download /aws/rds/cluster/prod-dbcluster/slowquery prod-1 ./tmp/slow-log.log
bin/console draw:aws:cloud-watch-logs:download /aws/rds/cluster/prod-dbcluster/slowquery prod-2 ./tmp/slow-log.log --fileMode=a+
--aws-newest-instance-role
Allowing to ignore a command if it's not the newest instance in a pool of instance base on it's role.
Sometimes it's complex to configure cron that should be executed only on one instance in a pool of server that are auto-scaling. A good way to do that is to check if the current instance is the newest one, that way only one instance can be the newest at a specific time.
bin/console acme:purge-database --aws-newest-instance-role=prod