oci_recovery_recovery_service_subnet

This resource provides the Recovery Service Subnet resource in Oracle Cloud Infrastructure Recovery service.

Creates a new Recovery Service Subnet.

Example Usage

resource "oci_recovery_recovery_service_subnet" "test_recovery_service_subnet" {
    #Required
    compartment_id = var.compartment_id
    display_name = var.recovery_service_subnet_display_name
    vcn_id = oci_core_vcn.test_vcn.id

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    freeform_tags = {"bar-key"= "value"}
    nsg_ids = var.recovery_service_subnet_nsg_ids
    subnet_id = oci_core_subnet.test_subnet.id
    subnets = var.recovery_service_subnet_subnets
}

Argument Reference

The following arguments are supported:

* 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:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Recovery Service Subnet * update - (Defaults to 20 minutes), when updating the Recovery Service Subnet * delete - (Defaults to 20 minutes), when destroying the Recovery Service Subnet

Import

RecoveryServiceSubnets can be imported using the id, e.g.

$ terraform import oci_recovery_recovery_service_subnet.test_recovery_service_subnet "id"