Skip to content

octo-technology/terraform-provider-mattermost

Repository files navigation

Terraform Provider Mattermost

The Terraform Mattermost provider is a plugin for Terraform that allows for the full lifecycle management of Mattermost resources. This provider is currently early alpha quality and incomplete.

Requirements

Using the provider

Documentation is available here.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc. Acceptance tests requires a real Mattermost instance and create real resources. To spin up a local testing Docker Compose based environment, run make up.