Skip to content

Conversation

@yimw
Copy link
Contributor

@yimw yimw commented Nov 5, 2018

  1. Update Terraform registry in files.
  2. Update hostname_label in oci_core_instance.
  3. Use list private_ips to handle private ip assign for multiple instances.
  4. Update display_name in oci_core_volume.
  5. Use list subnet_ocids for multiple instances creating on different subnets.

@yimw yimw requested a review from briangustafson November 5, 2018 17:45
# Compute Instance Configurations
instance_display_name = "sample_instance"
source_ocid = "ocid1.image.oc1.phx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
vcn_ocid = "ocid1.vcn.oc1.phx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vcn_ocid no longer used

README.md Outdated
instance_count | Number of instances to launch
block_storage_sizes_in_gbs | The size in GBs of block volumes created and attached to each instance
attachment_type | Attachment type (Note: paravirtualized attachment may not be supported by some instance images)
attachment_type | Support two types of volume attachments: iSCSI and Paravirtualized.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The type of volume attachment. Allowed values are: iscsi, paravirtualized

README.md Outdated
private_ips | A list of private IP address of your choice to assign to the VNIC
skip_source_dest_check | Specifies whether the source/destination check is disabled on the VNIC
subnet_ocid | Unique identifier (OCID) of the subnet in which the VNIC is created
subnet_ocids | A list of of the subnet OCID in which the VNIC is created
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A list of of the subnet OCIDs in which to place the instance primary VNICs

The [examples](https://github.com/oracle-terraform-modules/terraform-oci-compute-instance/tree/master/examples/instance_default) folder contains a detailed example that shows how to use this module.

The following code example creates an Oracle Cloud Infrastructure compute instance:

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a note further up in this readme that is no longer true - "The subnet, the compute instances, and the block volumes all must be in the same compartment, as specified by the compartment_ocid parameter." The subnet can now be in any compartment.

@yimw yimw merged commit 3cb5bcd into master Dec 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants