Create OpenStack infra using Terraform
Resources we need: https://gitlab.stud.idi.ntnu.no/jhklemet/iikg3005-labs/-/blob/master/lab1.md
Provider to use: https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs
-
Configure the Terraform file to use Gitlab HTTP backend (https://docs.gitlab.com/ee/user/infrastructure/iac/terraform_state.html) -
Create a Terraform file to create infra in OpenStack -
Convert the file into a module which can be configured with number of instances/nodes to create -
Write tests for the module using Terratest
Edited by Aksel Skaar Leirvaag