2.0.0: Refactor - release 2.0 (#25)
Refactor:
- Improved documentation
- Consolidated variable names and formats to make it consistent with other modules
- Simplified naming
Additions:
- Return the autoscaling group names without creating a dependency on the resources
- Add initial lifecycle hooks variable
Breaking changes:
- Removal of
project
andenvironment
variables in favour of justname
. If you want to keep the old naming format, just setvar.name
asasg-<project>-<name>-<environment>
in thebluegreen
module, and<project>-<environment>-<name>
in thescaling
module. - Split some variables into blue and green. Some parameters were generic for both autoscaling groups and we've now made them specific for each of them.
user_data
->blue_user_data
andgreen_user_data
instance_type
->blue_instance_type
andgreen_instance_type
disk_volume_size
->blue_disk_volume_size
andgreen_disk_volume_size
disk_volume_type
->blue_disk_volume_type
andgreen_disk_volume_type
- Renamed
autoscaling_group_name
variable toautoscaling_group_names
in thescaling
module.
Note: We will soon also move to using launch templates instead of configs.