terraform-provider-tm

command module
v0.0.0-...-5bc3c34 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

README

Go Report Card CircleCI

Terraform provider for knative resources based on triggermesh CLI

Terraform provider usage

Plugin requires either tm or kubectl tools configured or be running in a Kubernetes cluster environment. Golang is needed to build the plugin binary and Terraform to run example manifests.

Getting Started

git clone https://github.com/triggermesh/terraform-provider-tm.git
cd terraform-provider-tm
go build
terraform init

Repository contains examples directory with manifests for different services, for example you may deploy qrcode service by running:

terraform apply examples/qrcode/

Terraform will return domain name which will be available in a minutes after service creation:

curl tf-qrcode.default.example.com/function/qrcode --data "Triggermesh" > qrcode.png

Note: do not apply more then one example manifest at the same time; destroy old resource before creating new one.

If you're updating already existing tm provider, please don't forget to run go build and terraform init commands after pulling latest changes

Support

We would love your feedback on this Terraform plugin so don't hesitate to let us know what is wrong and how we could improve it, just file an issue

Code of Conduct

This plugin is by no means part of CNCF but we abide by its code of conduct

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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