The Terraform provider administration is a plugin for Terraform that allows some administration configuration of quortex solution. This provider is maintained internally by the Quortex team.
Full, comprehensive documentation is available on the Terraform website:
https://registry.terraform.io/providers/quortex/administration/latest/docs
Run the following command to build the provider
$ go build -o terraform-provider-administraitionFirst, build and install the provider.
$ make installThen, navigate to the examples/development directory.
$ cd examples/developmentThen update the following variables according to your needs in the provider "administration", for instance in your main.tf or define the variables in ./local/terraform.tfvars
Run the following command to initialize the workspace and apply the sample configuration.
$ terraform init && terraform applyInspired from : https://developer.hashicorp.com/terraform/tutorials/configuration-language/test
Go into ./local
Change the configs for this right ones according the credentials in ./local/terraform.tfvars.
Change the variable my_local_test_org you want to test in ./local/tests/setup/main.tf
To launch local test :
Change in main.go : Address: "localhost/quortex/administration",
In Makefile make sure that when you build that the OS_ARCH is correct according to your environment.
$ make installThen :
$ terraform init && terraform applyTest was inspired from this repo : https://github.com/hashicorp/terraform-provider-scaffolding-framework/tree/main