Releases: DNXLabs/terraform-aws-stateful
Releases · DNXLabs/terraform-aws-stateful
Release list
4.2.0
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 scheduleschedule_cron_start(string) - Cron expression for starting instancesschedule_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
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
4.1.1
What's Changed
- Add explicit types to input variables by @alexandrealvao in #18
New Contributors
- @alexandrealvao made their first contribution in #18
Full Changelog: 4.1.0...4.1.1
4.1.0
What's Changed
- Add Support to add custom ingress and egress Rules by @RaphaelMacedonio in #15
- Fix deprecated option in eip by @adenot in #16
New Contributors
- @RaphaelMacedonio made their first contribution in #15
Full Changelog: 4.0.1...4.1.0
4.0.1-prophecy
4.0.1
What's Changed
- ADD existing launch template by @tatamarques in #14
New Contributors
- @tatamarques made their first contribution in #14
Full Changelog: 4.0.0...4.0.1
4.0.0
What's Changed
- Add project guidelines and issue/prs templates by @caiovfernandes in #7
- 📦 NEW: Add CONTRIBUTING.md by @caiovfernandes in #8
- Feature/lint by @mcosta1105 in #10
- Feature/auto docs by @mcosta1105 in #11
- 🔧 update module terraform 0.13 by @Renatovnctavares in #9
- Added instance type to launch template by @LuizSutil in #13
New Contributors
- @caiovfernandes made their first contribution in #7
- @mcosta1105 made their first contribution in #10
- @Renatovnctavares made their first contribution in #9
- @LuizSutil made their first contribution in #13
Full Changelog: 3.0.3...4.0.0