A Terraform provider for Apache Ranger.
- Clone the repository
- Enter the repository directory
- Build the provider using the Go
installcommand:
go installThis provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.
To add a new dependency github.com/author/dependency to your Terraform provider:
go get github.com/author/dependency
go mod tidyThen commit the changes to go.mod and go.sum.
See the examples directory for provider, resource, and data source usage.
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 generate or update documentation, run make generate.
In order to run the full suite of Acceptance tests, first start up a local Ranger instance using docker:
docker compose -f docker/docker-compose.yml up -d
Then run make testacc to run the acceptance tests.
make testaccIf you would like to contribute to this project, please fork the repository and make your changes in a separate branch. Once you have made your changes, you can submit a pull request for review. See CONTRIBUTING.md for more details.
Please see SECURITY.md for our Security and Coordinated Vulnerability Disclosure Policy.
This project adheres to our Code of Conduct. By participating, you are expected to uphold this code.
This project is licensed under the Apache License, Version 2.0 - see the LICENSE file for details.
SPDX-License-Identifier: Apache-2.0