I'm creating a cloud init script which should have following commands:
- [sudo, curl, -ks, 'https://download.docker.com/linux/ubuntu/gpg' | sudo, apt-key, add - ]
However, my Visual Studio Code shows me an red error lines after the pipe. Is is something wrong here? How should syntax be? As far as I know, yaml can use ":" sign, thus I put the hyperlink in the quotes, what about the latter part of command?