This repository serves as a abstraction and simplification for common uses of the Imperva Cloud WAF terraform resources.
This module must be used with Terraform version of 0.14 or newer.
Here is an example illustrating an onboarding a single data center site with load balancing:
module "my_site_single_data_center" {
source = "./incapsula-site-single-dc-load-balancing"
domain = "my-site.incaptest.co"
data_center = {
name = "my-data-center"
origin_servers = {
os1 = {
address = "1.1.1.1"
},
os2 = {
address = "2.2.2.2"
}
}
}
}
The examples directory contains a "get started" examples, demonstrating how to use the module or its sub-modules
Here you can find a few examples on how to use this module (and sub-modules):
- Create a site with allowlist policy, bots configuration, waf security rules and waf exceptions
- Create a single server site with incap rules
- Create a single data center site with load balancing and WAF policy
- Create a multi data center site and ACL policies
A list of resources this module provides.
Name | Type |
---|---|
incapsula_site | resource |
incapsula_data_centers_configuration | resource |
incapsula_policy | resource |
incapsula_policy_asset_association | resource |
incapsula_incap_rule | resource |
incapsula_bots_configuration | resource |
incapsula_security_rule_exception | resource |
incapsula_waf_security_rule | resource |
Module is maintained by the team at Imperva
Mozilla Public License 2.0