instance_id: "iid-{{ inst_name }}" local_hostname: "{{ inst_name }}" {% if !ssh_pubkeys.is_empty() -%} public_keys: {% for key in ssh_pubkeys -%} - "{{ key }}" {% endfor %} {%- endif -%} {% if let Some(user) = username -%} default_username: "{{ user }}" {%- endif %}