oci_cloud_guard_managed_list
This resource provides the Managed List resource in Oracle Cloud Infrastructure Cloud Guard service.
Creates a new ManagedList object.
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"}
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 Identifierdefined_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 description.Avoid 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.
list_items
- (Optional) (Updatable) List of ManagedListItemlist_type
- (Optional) type of the listsource_managed_list_id
- (Optional) OCID of the Source ManagedList
** 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 Identifier 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
- ManagedList description.display_name
- ManagedList display name.feed_provider
- provider of the 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.
id
- Unique identifier that is immutable on creationis_editable
- If this list is editable or notlifecyle_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.list_items
- List of ManagedListItemlist_type
- type of the listsource_managed_list_id
- OCID of the Source ManagedListstate
- The current state of the resource.system_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 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"