oci_cloud_guard_managed_list
This resource provides the Managed List resource in Oracle Cloud Infrastructure Cloud Guard service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/cloud-guard/latest/ManagedList
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/certificatesguard
Creates a new ManagedList resource.
Example Usage
resource "oci_cloud_guard_managed_list" "test_managed_list" {
#Required
compartment_id = var.compartment_id
display_name = var.managed_list_display_name
#Optional
defined_tags = {"foo-namespace.bar-key"= "value"}
description = var.managed_list_description
freeform_tags = {"bar-key"= "value"}
group = var.managed_list_group
list_items = var.managed_list_list_items
list_type = var.managed_list_list_type
source_managed_list_id = oci_cloud_guard_managed_list.test_managed_list.id
}
Argument Reference
The following arguments are supported:
compartment_id- (Required) (Updatable) Compartment OCIDdefined_tags- (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}description- (Optional) (Updatable) Managed list descriptionAvoid entering confidential information.
display_name- (Required) (Updatable) Managed list display name.Avoid entering confidential information.
freeform_tags- (Optional) (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}Avoid entering confidential information.
group- (Optional) (Updatable) Managed list type grouplist_items- (Optional) (Updatable) List of items in the managed listlist_type- (Optional) Type of information stored in the listsource_managed_list_id- (Optional) OCID of the source managed list
** 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:
compartment_id- Compartment OCID where the resource is createddefined_tags- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:{"foo-namespace.bar-key": "value"}description- Managed list descriptiondisplay_name- Managed list display namefeed_provider- Provider of the managed list feedfreeform_tags- Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:{"bar-key": "value"}Avoid entering confidential information.
group- Managed list type groupid- Unique identifier that can’t be changed after creationis_editable- Is this list editable?lifecyle_details- A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. [DEPRECATE]list_items- List of items in the managed listlist_type- Type of information contained in the managed listsource_managed_list_id- OCID of the source managed liststate- The current lifecycle state of the resourcesystem_tags- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example:{"orcl-cloud.free-tier-retained": "true"}time_created- The date and time the managed list was created. Format defined by RFC3339.time_updated- The date and time the managed list was last updated. Format defined by RFC3339.
Timeouts
The timeouts block allows you to specify timeouts for certain operations:
* create - (Defaults to 20 minutes), when creating the Managed List
* update - (Defaults to 20 minutes), when updating the Managed List
* delete - (Defaults to 20 minutes), when destroying the Managed List
Import
ManagedLists can be imported using the id, e.g.
$ terraform import oci_cloud_guard_managed_list.test_managed_list "id"