terraform-metal-vsphere icon indicating copy to clipboard operation
terraform-metal-vsphere copied to clipboard

handle null values in subnet["reserved_ip_count"]

Open displague opened this issue 3 years ago • 0 comments

Originally https://github.com/equinix/terraform-metal-anthos-on-vsphere/pull/127#issuecomment-845439748

Make the check at https://github.com/equinix/terraform-metal-vsphere/blob/v3.0.0/templates/pre_reqs.py#L117 JSON null aware, by updating the check to subnet.get("reserved_ip_count") is not None:

displague avatar May 20 '21 20:05 displague