oci_apiaccesscontrol_privileged_api_control

This resource provides the Privileged Api Control resource in Oracle Cloud Infrastructure Apiaccesscontrol service.

Creates a PrivilegedApiControl.

Example Usage

resource "oci_apiaccesscontrol_privileged_api_control" "test_privileged_api_control" {
	#Required
	approver_group_id_list = var.privileged_api_control_approver_group_id_list
	compartment_id = var.compartment_id
	notification_topic_id = oci_ons_notification_topic.test_notification_topic.id
	privileged_operation_list {
		#Required
		api_name = oci_apigateway_api.test_api.name

		#Optional
		attribute_names = var.privileged_api_control_privileged_operation_list_attribute_names
		entity_type = var.privileged_api_control_privileged_operation_list_entity_type
	}
	resource_type = var.privileged_api_control_resource_type
	resources = var.privileged_api_control_resources

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.privileged_api_control_description
	display_name = var.privileged_api_control_display_name
	freeform_tags = {"Department"= "Finance"}
	number_of_approvers = var.privileged_api_control_number_of_approvers
}

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 Privileged Api Control * update - (Defaults to 20 minutes), when updating the Privileged Api Control * delete - (Defaults to 20 minutes), when destroying the Privileged Api Control

Import

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

$ terraform import oci_apiaccesscontrol_privileged_api_control.test_privileged_api_control "id"