terraform-oci-compute-instance icon indicating copy to clipboard operation
terraform-oci-compute-instance copied to clipboard

support for advanced placement options

Open kral2 opened this issue 3 years ago • 0 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Compute Instance can now be provisioned choosing between 4 capacity type:

  • On-demand capacity (considered the default mode)
  • Preemptible capacity
  • Capacity Reservation
  • Dedicated Host

New or Affected Resource(s)

oci_core_instance

Potential Terraform Configuration

resource oci_core_instance have a specific argument for each capacity type (with on-demand being considered the default mode):

  • preemptible_instance_config
  • capacity_reservation_id
  • dedicated_vm_host_id

These settings will need to be configured based on module inputs.

# Copy-paste any Terraform configurations for how the requested feature may be used. 

References

release notes:

provider spec

kral2 avatar Apr 15 '21 17:04 kral2