Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1.16 KB

README.md

File metadata and controls

53 lines (38 loc) · 1.16 KB

Terraform Provider Cortex

Latest release

This provider enables the provisioning of cortex.

Manually building the provider

make build

To install into ~/.terraform.d/plugins:

make install

Development

Acceptance tests

Terraform acceptance tests run a local Cortex instance.

make cortex-up
make testacc
make cortex-down

Ad-hoc testing

For fast feedback loop during development you can run arbitrary Terraform plans using a locally built provider. To run these plans against dockerized Cortex instance you can use Terraform development overrides.

To enable Terraform logs and configure development overrides:

make dev.tfrc
source tools/setup-env.sh

Build the provider and run some terraform, e.g one of the provided examples:

make build
terraform init
terraform -chdir=examples apply

Remove local Terraform state:

make clean