Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.3 KB

README.md

File metadata and controls

42 lines (27 loc) · 1.3 KB

terraform-provider-rode

test badge

A Terraform provider for rode.

Resources

  • rode_policy
  • rode_policy_group
  • rode_policy_assignment

See the examples directory for resource usage, and the docs directory for documentation.

Local Development

To build the provider, run make build; or run make install to build and move the binary under ~/.terraform.d.

To run the acceptance tests, use make testacc. These require a running instance of Rode.

Test Environment

If you have access to a Kubernetes cluster, the services directory contains Terraform for standing up Elasticsearch, Grafeas, and Rode.

terraform -chdir=services init
terraform -chdir=services apply

Developer Overrides

To run the examples with a local provider, configure ~/.terraformrc to use dev overrides:

provider_installation {
    dev_overrides {
      "registry.terraform.io/rode/rode" = "/my/path/to/terraform-provider-rode"
    }
}