2017-03-29 18:37:14 +02:00
|
|
|
---
|
2017-04-04 00:24:53 +02:00
|
|
|
layout: "opc"
|
2017-03-29 18:37:14 +02:00
|
|
|
page_title: "Oracle: opc_compute_security_list"
|
2017-04-04 00:24:53 +02:00
|
|
|
sidebar_current: "docs-opc-resource-security-list"
|
2017-03-29 18:37:14 +02:00
|
|
|
description: |-
|
|
|
|
Creates and manages a security list in an OPC identity domain.
|
|
|
|
---
|
|
|
|
|
2017-04-21 16:09:26 +02:00
|
|
|
# opc\_compute\_security\_list
|
2017-03-29 18:37:14 +02:00
|
|
|
|
|
|
|
The ``opc_compute_security_list`` resource creates and manages a security list in an OPC identity domain.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
2017-04-25 21:23:35 +02:00
|
|
|
```hcl
|
2017-03-29 18:37:14 +02:00
|
|
|
resource "opc_compute_security_list" "sec_list1" {
|
2017-04-04 00:24:53 +02:00
|
|
|
name = "sec-list-1"
|
|
|
|
policy = "permit"
|
|
|
|
outbound_cidr_policy = "deny"
|
2017-03-29 18:37:14 +02:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## 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 of `permit`,
|
|
|
|
`reject` (packets are dropped but a reply is sent) and `deny` (packets are dropped and no reply is sent).
|
|
|
|
|
2017-04-04 00:24:53 +02:00
|
|
|
* `output_cidr_policy` - (Required) The policy for outbound traffic from the security list. Must be one of `permit`,
|
2017-03-29 19:30:04 +02:00
|
|
|
`reject` (packets are dropped but a reply is sent) and `deny` (packets are dropped and no reply is sent).
|
2017-04-04 00:24:53 +02:00
|
|
|
|
|
|
|
## Import
|
|
|
|
|
|
|
|
Security List's can be imported using the `resource name`, e.g.
|
|
|
|
|
2017-04-25 21:23:35 +02:00
|
|
|
```shell
|
|
|
|
$ terraform import opc_compute_security_list.list1 example
|
2017-04-04 00:24:53 +02:00
|
|
|
```
|