Skip to content

nanovms/terraform-provider-ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-ops

A terraform provider for OPS. Specify your nanos images and deploy to cloud providers like Google Cloud, Aws, Azure, Oracle Cloud Infrastructure, Open Stack, Vsphere, Upcloud and Digital Ocean.

provider "ops" {

}

resource "ops_images" "walk_server_image" {
  name        = "walk-server"
  elf         = "./walk-server"
  config      = "./config.json"
  targetcloud = "gcp"
}

Requirements

Build

Run the following command to build the provider

go build -o terraform-provider-ops

Get Started

First, build and install the provider.

make install

Then, run the following command to initialize the workspace and apply the sample configuration.

terraform init && terraform apply

If you want to destroy the resources created run terraform destroy.

Check our examples.