Skip to content

DevotedHealth/terraform-provider-looker

Repository files navigation

Terraform Provider: Looker

This is a terraform provider plugin for managing Looker accounts.

Install

You can use Explicit Provider Source Locations.

terraform {
  required_providers {
    looker = {
      source = "DevotedHealth/looker"
      version = "0.8.8"
    }
  }
}

Usage

In-depth docs are available on the Terraform registry.

For developers

How to run acceptance test

Before running acceptance test, you should set following environment variables:

export LOOKER_API_CLIENT_ID=YOUR_CLIENT_ID
export LOOKER_API_CLIENT_SECRET=YOUR_CLIENT_SECRET
export LOOKER_API_BASE_URL="https://example.com/"

Then run following command:

TF_ACC=1 go test ./...

or you can also use

make test-acceptance