oci_blockchain_osn

This resource provides the Osn resource in Oracle Cloud Infrastructure Blockchain service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/blockchain/latest/Osn

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

Create Blockchain Platform Osn

Example Usage

resource "oci_blockchain_osn" "test_osn" {
	#Required
	ad = var.osn_ad
	blockchain_platform_id = oci_blockchain_blockchain_platform.test_blockchain_platform.id

	#Optional
	ocpu_allocation_param {
		#Required
		ocpu_allocation_number = var.osn_ocpu_allocation_param_ocpu_allocation_number
	}
}

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

Import

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

$ terraform import oci_blockchain_osn.test_osn "blockchainPlatforms/{blockchainPlatformId}/osns/{osnId}"