oci_jms_fleet

This resource provides the Fleet resource in Oracle Cloud Infrastructure Jms service.

Create a new Fleet using the information provided.

inventoryLog is now a required parameter for CreateFleet API. Update existing applications using this API before July 15, 2022 to ensure the applications continue to work. See the Service Change Notice for more details. Migrate existing fleets using the UpdateFleet API to set the inventoryLog parameter.

Example Usage

resource "oci_jms_fleet" "test_fleet" {
    #Required
    compartment_id = var.compartment_id
    display_name = var.fleet_display_name
    inventory_log {
        #Required
        log_group_id = oci_logging_log_group.test_log_group.id
        log_id = oci_logging_log.test_log.id
    }

    #Optional
    defined_tags = {"foo-namespace.bar-key"= "value"}
    description = var.fleet_description
    freeform_tags = {"bar-key"= "value"}
    is_advanced_features_enabled = var.fleet_is_advanced_features_enabled
    operation_log {
        #Required
        log_group_id = oci_logging_log_group.test_log_group.id
        log_id = oci_logging_log.test_log.id
    }
}

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 Fleet * update - (Defaults to 20 minutes), when updating the Fleet * delete - (Defaults to 20 minutes), when destroying the Fleet

Import

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

$ terraform import oci_jms_fleet.test_fleet "id"