-
Notifications
You must be signed in to change notification settings - Fork 72
Update variables and use Terraform registry in files. #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
yimw
commented
Nov 5, 2018
- Update Terraform registry in files.
- Update hostname_label in oci_core_instance.
- Use list private_ips to handle private ip assign for multiple instances.
- Update display_name in oci_core_volume.
- Use list subnet_ocids for multiple instances creating on different subnets.
examples/instance_default/README.md
Outdated
| # Compute Instance Configurations | ||
| instance_display_name = "sample_instance" | ||
| source_ocid = "ocid1.image.oc1.phx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" | ||
| vcn_ocid = "ocid1.vcn.oc1.phx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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: | ||
|
|
There was a problem hiding this comment.
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.