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
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
}
# 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 {}
}
Authored by Evan Wies.
Copyright (c) 2023 Neomantra BV. All rights reserved.
Released under the MIT License, see LICENSE
.