terraform-provider-temporal

command module
v0.0.0-...-686f72a Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: MIT Imports: 5 Imported by: 0

README

Temporal Terraform Provider

This is experimental!

A Terraform Provider for Temporal.

This project is not affiliated with nor supported by Temporal Technologies, Inc.

It is a Work-In-Progress that currently only round-trips Schedules


Example

Examples are in the examples directory.

terraform {
  required_providers {
    temporal = {
      source = "neomantra/temporal"
    }
  }
}

provider "temporal" {
  hostport  = "127.0.0.1:7233"
  namespace = "default"
}

// Schedule round-trip
resource "temporal_schedule" "test" {
  id = "test-schedule"
}

data "temporal_schedule" "test" {
  id = temporal_schedule.test.id
}

output "test-desc" {
  value = data.temporal_schedule.test.desc
}

Development
# spin up a dev temporal server for testing
temporal server start-dev

Reminder put this in ~/.terraformrc:

provider_installation {
  dev_overrides {
    "neomantra/temporal" = "/Users/<username>/go/bin"
  }

  # For all other providers, install them directly from their origin provider
  # registries as normal. If you omit this, Terraform will _only_ use
  # the dev_overrides block, and so no other providers will be available.
  direct {}
}

License

Authored by Evan Wies.

Copyright (c) 2023 Neomantra BV. All rights reserved.

Released under the MIT License, see LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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