Elastigroup automated Availability Zone detection

As part of our commitment to always simplify, Availability Zones (AZs) are now automatically detected in Spotinst’s API. You can now completely omit AZs in your Spotinst API calls using a new attributesubnetIds, which will extract the AZs on your behalf based on the region and subnet ID parameters.

subnet_ids = [
  "group": {
    "compute": {
      "subnetIds": [


The new attribute is available for Terraform configurations or Restful APIs / CloudFormation templates.
For backward compatibility, the previous parametercompute.availabilityZones.name will continue to be supported but will now be optional.

You can check out the full documentation for our Elastigroup API here.