You've made a small syntax error.
yml files are very accurate about the indentations and the spacing. The error log itself is showing you the where you've gone wrong
Remove a space before volume-size: 8
It should be like this:
volume_type: gp2
volume_size: 8