oci_waf_web_app_firewall

This resource provides the Web App Firewall resource in Oracle Cloud Infrastructure Waf service.

Creates a new WebAppFirewall.

Example Usage

resource "oci_waf_web_app_firewall" "test_web_app_firewall" {
	#Required
	backend_type = var.web_app_firewall_backend_type
	compartment_id = var.compartment_id
	load_balancer_id = oci_load_balancer_load_balancer.test_load_balancer.id
	web_app_firewall_policy_id = oci_waf_web_app_firewall_policy.test_web_app_firewall_policy.id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	display_name = var.web_app_firewall_display_name
	freeform_tags = {"bar-key"= "value"}
	system_tags = var.web_app_firewall_system_tags
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Web App Firewall * update - (Defaults to 20 minutes), when updating the Web App Firewall * delete - (Defaults to 20 minutes), when destroying the Web App Firewall

Import

WebAppFirewalls can be imported using the id, e.g.

$ terraform import oci_waf_web_app_firewall.test_web_app_firewall "id"