oci_iot_iot_flow_runtime

This resource provides the Iot Flow Runtime resource in Oracle Cloud Infrastructure Iot service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iot/latest/IotFlowRuntime

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/iot

Creates an IoT flow runtime.

Example Usage

resource "oci_iot_iot_flow_runtime" "test_iot_flow_runtime" {
	#Required
	compartment_id = var.compartment_id
	iot_domain_id = oci_iot_iot_domain.test_iot_domain.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.iot_flow_runtime_description
	display_name = var.iot_flow_runtime_display_name
	freeform_tags = {"Department"= "Finance"}
	log_config {
		#Required
		log_group_id = oci_logging_log_group.test_log_group.id

		#Optional
		log_id = oci_apm_traces_log.test_log.id
	}
	network_config {
		#Required
		subnet_id = oci_core_subnet.test_subnet.id

		#Optional
		file_storage_mounts {
			#Required
			export_id = oci_file_storage_export.test_export.id
			mount_path = var.iot_flow_runtime_network_config_file_storage_mounts_mount_path
			mount_target_id = oci_file_storage_mount_target.test_mount_target.id
		}
		network_security_group_ids = var.iot_flow_runtime_network_config_network_security_group_ids
	}
	scale = var.iot_flow_runtime_scale
}

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

Import

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

$ terraform import oci_iot_iot_flow_runtime.test_iot_flow_runtime "id"