» incapsula_site

Provides a Incapsula Site resource. Sites are the core resource that is required by all other resources.

» Example Usage

resource "incapsula_site" "example-site" {
  domain                 = "examplesite.com"
  account_id             = "123"
  ref_id                 = "123"
  send_site_setup_emails = "false"
  site_ip                = "2.2.2.2"
  force_ssl              = "false"
  log_level              = "full"
  logs_account_id        = "456"
}

» Argument Reference

The following arguments are supported:

  • domain - (Required) The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
  • account_id - (Optional) The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
  • send_site_setup_emails - (Optional) If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
  • site_ip - (Optional) The web server IP/CNAME.
  • force_ssl - (Optional) Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
  • log_level - (Optional) Log level. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Sets the log reporting level for the site. Options are full, security, none, and default.
  • logs_account_id - (Optional) Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.

» Attributes Reference

The following attributes are exported: