Skip to content

Releases: maniSHarma7575/hibernate

v0.1.7

19 Oct 18:41
8ccaed8
Compare
Choose a tag to compare

v0.1.6

19 Oct 17:50
b1300ff
Compare
Choose a tag to compare

Notable Changes

  • Simplified commands
    • Consistent naming convention
    • Shortcut for commands added
    • Linux command naming convention followed.

Author: @maniSHarma7575

v0.1.5

15 Oct 08:38
c78a7b4
Compare
Choose a tag to compare

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

15 Oct 07:10
edb1831
Compare
Choose a tag to compare

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

05 Oct 13:36
8b0d2d7
Compare
Choose a tag to compare

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