opc_compute_security_list

The opc_compute_security_list resource creates and manages a security list in an Oracle Cloud Infrastructure Compute Classic 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 of permit, reject (packets are dropped but a reply is sent) and deny (packets are dropped and no reply is sent).

  • output_cidr_policy - (Required) The policy for outbound traffic from the security 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).

Import

Security List's can be imported using the resource name, e.g.

$ terraform import opc_compute_security_list.list1 example

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/opc/r/opc_compute_security_list.html