oci_batch_batch_task_profile

This resource provides the Batch Task Profile resource in Oracle Cloud Infrastructure Batch service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

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

Creates a batch task profile.

Example Usage

resource "oci_batch_batch_task_profile" "test_batch_task_profile" {
	#Required
	compartment_id = var.compartment_id
	min_memory_in_gbs = var.batch_task_profile_min_memory_in_gbs
	min_ocpus = var.batch_task_profile_min_ocpus

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.batch_task_profile_description
	display_name = var.batch_task_profile_display_name
	freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_batch_batch_task_profile.test_batch_task_profile "id"