Skip to content

instana/terraform-provider-instana

Repository files navigation

Note : This terraform-provider-instana project repository has been taken from gessnerfl org and is now maintained under IBM's offical Instana org since v3.0.0.

Terraform Provider Instana

Terraform provider implementation for the Instana REST API.

Terraform Registry : https://registry.terraform.io/providers/instana/instana/latest

Changes Log: CHANGELOG.md

Documentation

The documentation of the provider can be found on the Terraform Registry Page https://registry.terraform.io/providers/instana/instana/latest.

Implementation Details

Testing

Mocking: Tests are co-located in the package next to the implementation. We use gomock (https://github.com/golang/mock) for mocking. Mocks are created using the source mode. All mocks are create in the mock package. To generate mocks you can use the helper script generate-mock-for-file <source-file> from the root directory of this project.

Alternatively you can manually execute mockgen as follows

mockgen -source=<source_file> -destination=mocks/<source_file_name>_mocks.go -package=mocks

Release a new version

  1. Create a new tag follow semantic versioning approach
  2. Update changelog before creating a new release by using github-changelog-generator
  3. Push the tag to the remote to build the new release