terraform-provider-dkron

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

README

CircleCI

Terraform provider Dkron

Install the plugin

Download the binary from the release and copy it in your project ~/.terraform.d/plugins and run terraform init

Interface

resource "dkron_job" "my-job" {
    name = "hola_from_tf"
    owner = "omar"
    owner_email = "a@a.com"
    dkron_host = "http://dkron:8080"
    executor = "shell"
    command = "date"
    disabled = false
}

Steps to start developing

First of all you should download all dependencies:

$ make build_deps

And then you can start developing your Terraform plugin by:

$ make dev

When you're done, you can test your plugin by running:

$ make compile_plugin
$ make init
$ make plan
$ make apply
$ make destroy

TODO

  • Use Dkron client instead to hardcode it into the provider
  • Decouple provider from resource
  • Add unit testing
  • Complete API endpoints
  • (Terraform v0.12) Support nested maps for processors

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL