1.2 KiB
1.2 KiB
layout | page_title | sidebar_current | description |
---|---|---|---|
opc | Oracle: opc_compute_security_list | docs-opc-resource-security-list | Creates and manages a security list in an OPC identity domain. |
opc_compute_security_list
The opc_compute_security_list
resource creates and manages a security list in an OPC identity domain.
Example Usage
resource "opc_compute_security_list" "sec_list1" {
name = "sec-list-1"
policy = "permit"
outbound_cidr_policy = "deny"
}
Argument Reference
The following arguments are supported:
-
name
- (Required) The unique (within the identity domain) name of the security list. -
policy
- (Required) The policy to apply to instances associated with this list. Must be one ofpermit
,reject
(packets are dropped but a reply is sent) anddeny
(packets are dropped and no reply is sent). -
output_cidr_policy
- (Required) The policy for outbound traffic from the security list. Must be one ofpermit
,reject
(packets are dropped but a reply is sent) anddeny
(packets are dropped and no reply is sent).
Import
Security List's can be imported using the resource name
, e.g.
terraform import opc_compute_security_list.list1 example