Skip to main content
1 vote

Using a terraform template to produce a cloud-init yaml: template variables do not respect yaml context/whitespace

By the way if you want to use yaml for your cloud-init template you can achieve what you want using indent function ssh_keys: rsa_private: | ${indent(4, "${private_key}")} Make sure ...
Trayan Azarov's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible