Releases: maniSHarma7575/hibernate
Releases · maniSHarma7575/hibernate
v0.1.7
- GH Pages integrated
- https://manisharma7575.github.io/hibernate/
v0.1.6
Notable Changes
- Simplified commands
- Consistent naming convention
- Shortcut for commands added
- Linux command naming convention followed.
Author: @maniSHarma7575
v0.1.5
Notable Changes
- Instead of account-id use the profile for commands
bin/hibernate rule --create --profile=<profile_name> --instance-name=<instance_name> --start-expression="<cron>" --stop-expression="<cron>"
--profile=<profile_name>: (Optional) The Profile to use from config. This will default to the default profile if not specified.
--instance-name=<instance_name>: The EC2 instance name tag.
--start-expression=: The cron expression for when to start the instance.
--stop-expression=: The cron expression for when to stop the instance.
v0.1.4
Notable Changes
- Added the multiple accounts configuration
Summary of Commands
Note on Account ID: The account-id will be cached once you have explicitly mentioned it in the command. For subsequent commands, you can ignore passing the account-id. If you want to override it, simply pass the account-id command line arguments again.
- Setup Lambda: bin/hibernate setup --account-id=<your_account_id>
- Create/Update Rule: bin/hibernate rule --create --instance-name=<instance_name> --start-expression= --stop-expression=
- List Rules: bin/hibernate rule --list [--instance-name=<instance_name>] [--start-instance=true] [--stop-instance=true]
- Update Rule: bin/hibernate rule --update --rule=<rule_name> [--start-expression=<new_cron>] [--stop-expression=<new_cron>] [--state=<new_state>]
- Remove Rule: bin/hibernate rule --remove --rule-name=<rule_name>
v0.1.3
Notable Changes
- List rules command added
- Remove rule command added
- Update rule command added
- Create rule command updated with new syntax
-
- Permission required to create IAM user is updated in Readme.md
Summary of Commands
- Setup Lambda:
bin/hibernate setup
- Create Rule:
bin/hibernate rule --create --instance-name=<instance_name> --start-expression=<cron> --stop-expression=<cron>
- List Rules:
bin/hibernate rule --list [--instance-name=<instance_name>] [--start-instance=true] [--stop-instance=true]
- Update Rule:
bin/hibernate rule --update --rule=<rule_name> [--start-expression=<new_cron>] [--stop-expression=<new_cron>] [--state=<new_state>]
- Remove Rule:
bin/hibernate rule --remove --rule-name=<rule_name>
Contributor: @maniSHarma7575