$ git clone [email protected]:Icinga/terraform-provider-icinga2
$ cd terraform-provider-icinga2
$ make buildThe documentation for this provider is at the Terraform Icinga2 provider docs
If you wish to work on the provider, you'll first need Go installed on your machine (version 1.23+ is required).
To compile the provider, run make build.
$ make buildIn order to test the provider, you can simply run make test.
$ make testIn order to run the full suite of Acceptance tests, run make testacc.
Note: Acceptance tests create real resources, and often cost money to run.
For this provider you will need access to an Icinga2 server to run the acceptance tests.
$ make docker_start
$ make testacc