Skip to content

2.0.0: Refactor - release 2.0 (#25)

Compare
Choose a tag to compare
@duboisph duboisph released this 29 Apr 09:18
· 8 commits to master since this release
ae09461

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 and environment variables in favour of just name. If you want to keep the old naming format, just set var.name as asg-<project>-<name>-<environment> in the bluegreen module, and <project>-<environment>-<name> in the scaling 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 and green_user_data
    • instance_type -> blue_instance_type and green_instance_type
    • disk_volume_size -> blue_disk_volume_size and green_disk_volume_size
    • disk_volume_type -> blue_disk_volume_type and green_disk_volume_type
  • Renamed autoscaling_group_name variable to autoscaling_group_names in the scaling module.

Note: We will soon also move to using launch templates instead of configs.