oci_iot_iot_flow_runtime_flow
This resource provides the Iot Flow Runtime Flow resource in Oracle Cloud Infrastructure Iot service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iot/latest/Flow
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/iot
Replaces the complete flows document for the IoT flow runtime identified by the specified OCID.
Example Usage
resource "oci_iot_iot_flow_runtime_flow" "test_iot_flow_runtime_flow" {
#Required
flows_document = var.iot_flow_runtime_flow_flows_document
iot_flow_runtime_id = oci_iot_iot_flow_runtime.test_iot_flow_runtime.id
}
Argument Reference
The following arguments are supported:
flows_document- (Required) (Updatable) The opaque flows document for the IoT flow runtime.iot_flow_runtime_id- (Required) The OCID of an IoT flow runtime.
** 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 Iot Flow Runtime Flow
* update - (Defaults to 20 minutes), when updating the Iot Flow Runtime Flow
* delete - (Defaults to 20 minutes), when destroying the Iot Flow Runtime Flow
Import
IotFlowRuntimeFlows can be imported using the id, e.g.
$ terraform import oci_iot_iot_flow_runtime_flow.test_iot_flow_runtime_flow "iotFlowRuntimes/{iotFlowRuntimeId}/flows"