Skip to content

fortinet/fortiwebcloud-terraform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Provider

Requirements

  • Terraform 0.13.x or higher
  • Go 1.16.x (to build the provider plugin)

Compatibility

This integration has been tested against Terraform version 1.0.6. Versions above this are expected to work but have not been tested.

Setup the Provider

  1. 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
  2. Build the plugin

    go build

    the result is terraform-provider-fortiwebcloud

  3. 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/

Using the Provider

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

License

MIT

Support

Please contact your Fortinet representation for any comments, questions, considerations, and/or concerns.

About

Terraform provider for FortiWebCloud

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages