Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 933 Bytes

CONTRIBUTING.md

File metadata and controls

57 lines (37 loc) · 933 Bytes

Contributing

Interested in contributing to Miro? Please help us!

Setup

Go

Install Go.

Go modules

Clone the repository to a directory outside of your GOPATH:

$ git clone https://github.com/Miro-Ecosystem/terraform-provider-miro

Afterward, use go build to build the program. This will automatically fetch dependencies.

$ go build

Upon first build, you may see output while the go tool fetches dependencies. To verify dependencies match checksums under go.sum, run go mod verify. To clean up any old, unused go.mod or go.sum lines, run go mod tidy.

Running Miro Provider

Create a provider.tf.

provider "miro" {
  access_key = "<MASKED>"
}

Build this provider.

$ go build

Then run the Terraform operations.

$ terraform init

Running tests

Test the provider by

go test -v ./...