oci_operator_access_control_operator_control

This resource provides the Operator Control resource in Oracle Cloud Infrastructure Operator Access Control service.

Creates an Operator Control.

Example Usage

resource "oci_operator_access_control_operator_control" "test_operator_control" {
    #Required
    approver_groups_list = var.operator_control_approver_groups_list
    compartment_id = var.compartment_id
    is_fully_pre_approved = var.operator_control_is_fully_pre_approved
    operator_control_name = oci_operator_access_control_operator_control.test_operator_control.name
    resource_type = var.operator_control_resource_type

    #Optional
    approvers_list = var.operator_control_approvers_list
    defined_tags = var.operator_control_defined_tags
    description = var.operator_control_description
    email_id_list = var.operator_control_email_id_list
    freeform_tags = var.operator_control_freeform_tags
    number_of_approvers = var.operator_control_number_of_approvers
    pre_approved_op_action_list = var.operator_control_pre_approved_op_action_list
    system_message = var.operator_control_system_message
}

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

Import

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

$ terraform import oci_operator_access_control_operator_control.test_operator_control "id"