-
Website: https://www.terraform.io
-
Mailing list: Google Groups
This integration has been tested against Terraform version 1.0.6. Versions above this are expected to work but have not been tested.
-
Obtain the specific version tag of source code and extract it.
https://github.com/fortinet/fortiwebcloud-terraform/tags
ex, for the version tag 1.0.2
$ wget https://github.com/fortinet/fortiwebcloud-terraform/archive/refs/tags/1.0.2.tar.gz $ tar xvzf 1.0.2.tar.gz $ cd fortiwebcloud-terraform-1.0.2
-
Build the plugin
go build
the result is terraform-provider-fortiwebcloud
-
Create the plugin directory and move the provider to it.
The plugin path is ~/.terraform.d/plugins/fortinet/terraform/fortiwebcloud/[VERSION]/[TARGET]/
- VERSION is a string as the version of the tag
- TARGET specifies a particular target platform
- darwin_amd64 for Mac
- linux_arm for linux
- windows_amd64 for Windows
Example in linux environment and the version is 1.0.2
$ mkdir -p ~/.terraform.d/plugins/fortinet/terraform/fortiwebcloud/1.0.2/linux_amd64/ $ mv terraform-provider-fortiwebcloud ~/.terraform.d/plugins/fortinet/terraform/fortiwebcloud/1.0.2/linux_amd64/
If you're building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init
to initialize it.
$ terraform init
Please contact your Fortinet representation for any comments, questions, considerations, and/or concerns.