This page describes how to create a new VM by using Terraform.

Pre-requisites
The following pre-requisites must be satisfied.
- Have read and followed the EWC - IaaC via Terraform page.
- The Terraform CLI installed.
- Application credentials to access the Openstack cloud project
There is a set of mandatory inputs required to create a new VM which are:
- image_name : the Virtual Machine image (see EWC - VM images and default users )
- flavor_name : the resources (CPU, RAM, Disk) configuration for the VM (see as reference ECMWF - VM plans )
- key_pair : configured SSH key which is needed to connect to the VM (see EWC - OpenStack Command-Line client for how to import it )
- security_groups : security groups are sets of applied IP filter rules which define networking access to the instance
- network : the network to be attached to the VM : external-internet: access to the Internet with public IP ; private-<tenant>: local private network within the tenant.
