You can just phrase this as:

```
      # wait for aws to report instance stats
      if opts.fetch('wait', true)
        wait(instances)
        # [...]
      end
```