v0.39.0
Add scheduled_actions variables (#174) @florian0410 (#177)
What is changing ?
Adding a new var scheduled_actions to give ability to setup beanstalk Scheduled actions.
Example:
scheduled_actions = [
{
name = "Refreshinstances"
minsize = "1"
maxsize = "2"
desiredcapacity = "2"
starttime = "2015-05-14T07:00:00Z"
endtime = "2016-01-12T07:00:00Z"
recurrence = "*/20 * * * *"
suspend = false
},
{
name = "Refreshinstances2"
minsize = "1"
maxsize = "2"
desiredcapacity = "2"
starttime = "2015-05-14T07:00:00Z"
endtime = "2016-01-12T07:00:00Z"
recurrence = "*/30 * * * *"
suspend = false
}
]
Why ?
We cannot use additional_settings to define these since it does not handle the dedicated resource field.
references
- About resource setting field: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elastic_beanstalk_environment#resource
- closes #174