Configuring WAF with Terraform
Terraform is a DevOps tool that integrates with FortiAppSec Cloud using the FortiAppSec Cloud Terraform Provider, which automates the provisioning and management of FortiAppSec Cloud WAF resources.
Prerequisites for using Terraform with WAF
-
FortiAppSec Cloud API access.
-
FortiAppSec Cloud Provider version 1.0.0 or later.
-
Terraform version 0.13 or later.
- Terraform template for setting up WAF
- Download the template by following the instructions under Installation on the Github repository.
- Obtain a template from the support team or your sales engineer.
Configuration Instructions
For setup instructions on using FortiAppSec Cloud WAF with Terraform, please refer to the following external resources:
-
Creating new applications: with Terraform, please see the README section of our GitHub repository, referring to Terraform documentation for Argument References covering OpenAPI validation and application creation use cases.
-
Migrating pre-existing Terraform integration settings from FortiWeb Cloud: please refer to the instructions under Migrate FortiWebCloud private provider to FortiAppSecCloud.
|
|
State File Backup: Before modifying the state file, ensure it is backed up to prevent data loss. |