Skip to content

blockchain/terraform-provider-metabase

 
 

Repository files navigation

Terraform Metabase

Terraform provider for Metabase. It is built using the Terraform Plugin SDK & Metabase APIs.


Using the provider

Initialise the provider with host, username & password:

provider "metabase" {
  username = var.username
  password = var.password
  host     = var.host
}

Ensure the host value doesn't contain a slash '/' at the end

Developing the Provider

Checkout notes

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 compile for Silicon M1 run GOOS=darwin GOARCH=arm64 go build -o terraform-provider-metabase .

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.8%
  • Makefile 0.2%