v3.0.0
·
584 commits
to main
since this release
3.0.0 (2023-03-29)
Refactoring
- This change updates some of the examples (under the 'examples' folder) to create worker pools spread across availability zones, as opposed to multiple single zone worker pool. This capability always existed in the root module, but was not demonstrated specifically by the examples. The actual logic in the root module to create the worker pools has not changed.
BREAKING CHANGES
- The defaults in the
worker_poolsinput variable have been removed, as they were making assumptions on the value passed to thevpc_subnetsinput variable. The naming in theworker_poolsdefaults were also giving the false impression that the worker pools were defined by availability zone.worker_poolsis now a mandatory input. If you relied on the defaults in version 2.X.X of the module, simply set the valueworker_poolsto the following when moving up to version 3.0.0
[
{
subnet_prefix = "zone-1"
pool_name = "default"
machine_type = "bx2.4x16"
workers_per_zone = 2
},
{
subnet_prefix = "zone-2"
pool_name = "zone-2"
machine_type = "bx2.4x16"
workers_per_zone = 2
},
{
subnet_prefix = "zone-3"
pool_name = "zone-3"
machine_type = "bx2.4x16"
workers_per_zone = 2
}
]