Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/getmoss/terraform-provider-metabase
A terraform provider for Metabase
https://github.com/getmoss/terraform-provider-metabase
metabase terraform
Last synced: about 2 months ago
JSON representation
A terraform provider for Metabase
- Host: GitHub
- URL: https://github.com/getmoss/terraform-provider-metabase
- Owner: getmoss
- License: mpl-2.0
- Created: 2022-01-04T13:56:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T11:39:15.000Z (about 2 months ago)
- Last Synced: 2024-11-04T12:23:34.624Z (about 2 months ago)
- Topics: metabase, terraform
- Language: Go
- Homepage: https://registry.terraform.io/providers/getmoss/metabase/latest/docs
- Size: 141 KB
- Stars: 3
- Watchers: 4
- Forks: 4
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Terraform Metabase
Terraform provider for [Metabase](https://metabase.com/). It is built using the [Terraform Plugin SDK](https://github.com/hashicorp/terraform-plugin-sdk) & [Metabase APIs](https://metabase.com/docs/latest/api-documentation.html#permissions).
__________________
## Using the providerInitialise the provider with `host`, `username` & `password`:
```tf
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](./development.md)If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (see [Requirements](#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.
```sh
$ make testacc
```