oci_optimizer_recommendation

This resource provides the Recommendation resource in Oracle Cloud Infrastructure Optimizer service.

Updates the recommendation that corresponds to the specified OCID. Use this operation to implement the following actions:

Example Usage

resource "oci_optimizer_recommendation" "test_recommendation" {
	#Required
	recommendation_id = oci_optimizer_recommendation.test_recommendation.id
	status = var.recommendation_status

	#Optional
	time_status_end = var.recommendation_time_status_end
}

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

Import

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

$ terraform import oci_optimizer_recommendation.test_recommendation "id"