oci_waa_web_app_acceleration_policy

This resource provides the Web App Acceleration Policy resource in Oracle Cloud Infrastructure Waa service.

Creates a new WebAppAccelerationPolicy.

Example Usage

resource "oci_waa_web_app_acceleration_policy" "test_web_app_acceleration_policy" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	display_name = var.web_app_acceleration_policy_display_name
	freeform_tags = {"bar-key"= "value"}
	response_caching_policy {

		#Optional
		is_response_header_based_caching_enabled = var.web_app_acceleration_policy_response_caching_policy_is_response_header_based_caching_enabled
	}
	response_compression_policy {

		#Optional
		gzip_compression {

			#Optional
			is_enabled = var.web_app_acceleration_policy_response_compression_policy_gzip_compression_is_enabled
		}
	}
	system_tags = var.web_app_acceleration_policy_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 Acceleration Policy * update - (Defaults to 20 minutes), when updating the Web App Acceleration Policy * delete - (Defaults to 20 minutes), when destroying the Web App Acceleration Policy

Import

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

$ terraform import oci_waa_web_app_acceleration_policy.test_web_app_acceleration_policy "id"