#cloud-config package_update: true package_upgrade: true package_reboot_if_required: true users: - name: ${jsonencode(user)} lock_passwd: false hashed_passwd: '*' sudo: ALL=(ALL) NOPASSWD:ALL ssh_authorized_keys: ${jsonencode(ssh_keys)} shell: /bin/bash write_files: - path: /etc/ssh/sshd_config content: ${jsonencode(sshd_config)}