Requirements
- Bash
- Go 1.19 (to build the provider plugin)
- Terraform 1.x
Build
Run the following command to build the provider
make build
Test
Run unit tests:
make test
To run acceptance tests against a real Soc2bd network you first need to define the following 3 environment variables:
export SOC2BD_URL=soc2bd.com
export SOC2BD_NETWORK=<your network slug - <slug>.soc2bd.com>
export SOC2BD_API_TOKEN=<API token with Read, Write & Provision permissions>
Then you can run by:
make testacc
Install
Install the provider for local testing.
make install
Documentation
To update the documentation edit the files in templates/
and then run make docs
. The files in docs/
are auto-generated and should not be updated manually.
Contributions
Contributions to this project are released under the project's open source license.