{% for machine in machines %}

{{ machine.id }}

{{ machine.instance_id }}

{{ machine.name }}

{% if machine.state in ["created", "starting", "started"] %} {% set bg_color = "green" %} {% elif machine.state == "replacing" %} {% set bg_color = "yellow" %} {% elif machine.state in ["stopping", "stopped"] %} {% set bg_color = "orange" %} {% elif machine.state in ["destroying", "destroyed"] %} {% set bg_color = "red" %} {% endif %}

{{ machine.state }}

{% for state in [("start", "green"), ("stop", "orange"), ("destroy", "red")] %} {% endfor %}

Overview


Region {{ machine.region }}
Private IP {{ machine.private_ip }}
CPU {{ machine.config.guest.cpus }} CPUs ({{ machine.config.guest.cpu_kind }})
Memory (MB) {{ machine.config.guest.memory_mb }}
Created At {{ machine.created_at }}
Updated At {{ machine.updated_at }}

Image

Release

{% endfor %}