GithubHelp home page GithubHelp logo

terraform-provider-ops's Introduction

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.

terraform-provider-ops's People

Contributors

arknable avatar eyberg avatar fabiodmferreira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

terraform-provider-ops's Issues

Rebuild resource image if elf file changed

The provider doesn't detect changes if the elf file is overridden.

Steps

  1. Run Terraform and generate a resource image;
  2. Change a program and compile;
  3. Run the same Terraform configuration.

Expected
Terraform should update the resource image on the cloud provider

Actual
No changes are applied

add darwin_amd64 provider

not sure if this is just a config option that needs to be set? there is nothing platform specific about this

โžœ  t terraform init

Initializing the backend...

Initializing provider plugins...
- Finding nanovms/ops versions matching "0.0.2"...

Error: Incompatible provider version

Provider registry.terraform.io/nanovms/ops v0.0.2 does not have a package
available for your current platform, darwin_amd64.

Provider releases are separate from Terraform CLI releases, so not all
providers are available for all platforms. Other versions of this provider may
have different platforms supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.