You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
New or Affected Resource(s)
Problem statement
As of now oracle-terraform-modules/compute-instance/oci module doesn't support specification of launch_options.
Although launch_options block is optional for oci_core_instance resource in my use cases it is a kind of "must". In particular I'm working with an existing customized images and have to explicitly propagate network_type=PARAVIRTUALIZED upon instance creation otherwise OCI automatically chooses VFIO and so instance can't be booted (the boot process just ends up in the dracut emergency console).
Thus it would be useful (in the cases like mine it is absolutely necessary) to extend module with e.g instance_launch_options variable (optional) that would be used (if specified) as a source for launch_options block of underlying oci_core_instance resource.
…tions`
oci_core_instance resource supports optional inputs from "launch_options"
block. In some use cases where instances are launched from a customized images
it is required to tune some of the launch options so that instances could boot
properly. The current implementation of the compute instance module has
lacked it. Hence the `instance_launch_options` input was added to fill
the gap in the implementation.
Signed-off-by: Andrii Kosachenko <[email protected]>
Community Note
Description
New or Affected Resource(s)
Problem statement
As of now
oracle-terraform-modules/compute-instance/oci
module doesn't support specification oflaunch_options
.Although
launch_options
block is optional foroci_core_instance
resource in my use cases it is a kind of "must". In particular I'm working with an existing customized images and have to explicitly propagatenetwork_type=PARAVIRTUALIZED
upon instance creation otherwise OCI automatically choosesVFIO
and so instance can't be booted (the boot process just ends up in the dracut emergency console).Thus it would be useful (in the cases like mine it is absolutely necessary) to extend module with e.g
instance_launch_options
variable (optional) that would be used (if specified) as a source forlaunch_options
block of underlyingoci_core_instance
resource.Potential Terraform Configuration
The example above just covers my use case. However complete usage example might look like below:
NB: I'd also like to work on the requested enhancement. Will submit a pull-request shortly.
References
The text was updated successfully, but these errors were encountered: