Skip to content

Releases: DNXLabs/terraform-aws-stateful

4.2.0

Choose a tag to compare

@DNX-JoseRibas DNX-JoseRibas released this 09 Dec 23:50
23558c0

What's New

Add shutdown schedule support for automatic instance start/stop based on cron schedules. This feature enables cost optimization by stopping instances outside business hours.

New Features

  • Automatic instance start/stop scheduling
  • Configurable cron expressions for start and stop times
  • Per-instance schedule control
  • Fully backward compatible (disabled by default)

New Variables

  • enable_schedule (bool) - Enable/disable shutdown schedule
  • schedule_cron_start (string) - Cron expression for starting instances
  • schedule_cron_stop (string) - Cron expression for stopping instances

Usage Example

module "jumpbox" {
  source = "git::https://github.com/DNXLabs/terraform-aws-stateful.git?ref=4.2.0"
  
  name           = "example-dev"
  instance_count = 1
  vpc_id         = "vpc-xxxxx"
  instances_subnet_ids = ["subnet-xxxxx"]
  
  # Enable shutdown schedule
  enable_schedule     = true
  schedule_cron_start = "0 20 * * MON-FRI"  # Start at 8pm GMT Mon-Fri
  schedule_cron_stop  = "0 10 * * MON-FRI"  # Stop at 10am GMT Mon-Fri
}

4.1.3

Choose a tag to compare

@caiovfernandes caiovfernandes released this 16 Sep 01:58
0ab5259

What's Changed

  • fix: asg resource does not automatically add the default_tags from the AWS provider by @leeserpa in #20

New Contributors

Full Changelog: 4.1.2...4.1.3

4.1.2

Choose a tag to compare

@alexandrealvao alexandrealvao released this 16 May 06:15
8d8d9d1

What's Changed

Full Changelog: 4.1.1...4.1.2

4.1.1

Choose a tag to compare

@alexandrealvao alexandrealvao released this 16 May 01:55
95dfce3

What's Changed

New Contributors

Full Changelog: 4.1.0...4.1.1

4.1.0

Choose a tag to compare

@adenot adenot released this 18 Jul 07:46
1b7d9f5

What's Changed

New Contributors

Full Changelog: 4.0.1...4.1.0

4.0.1-prophecy

Choose a tag to compare

@RaphaelMacedonio RaphaelMacedonio released this 21 Jun 00:05
84c6da8

Temp tag

4.0.1

Choose a tag to compare

@tatamarques tatamarques released this 21 May 04:06
dc26b65

What's Changed

New Contributors

Full Changelog: 4.0.0...4.0.1

4.0.0

Choose a tag to compare

@LuizSutil LuizSutil released this 09 Nov 22:49
1d94dbc

What's Changed

New Contributors

Full Changelog: 3.0.3...4.0.0

3.0.3

Choose a tag to compare

@adenot adenot released this 16 Jun 02:32

BUGFIXES

  • Fixing EBS mount to prevent errors by checking the state

3.0.2

Choose a tag to compare

@adenot adenot released this 16 Jun 02:12

BUGFIXES

  • Removing duplicated variable (again)