TLDR: Use for...of instead of forEach() in asynchronous code.
For legacy browsers, use for...i or [].reduce()
To execute the promises in parallel, use Promise.all([].map(...))
| #cloud-config | |
| # Option 1 - Full installation using cURL | |
| package_update: true | |
| package_upgrade: true | |
| groups: | |
| - docker | |
| system_info: |