instance
Kelleyc718/instance/oci
Terraform Instance Module for Oracle Cloud Infrastructure
Terraform Sample for an Oracle Cloud Infrastructure Instance - This example is meant to be used with a trial tenancy or as a method to familiarize yourself with Terraform and how it works. - Since Terraform is incredibly flexible, the methods presented in this example are not meant to be considered the "best practices". - The example is not intended to be used for a production environment without review. Important note -- This module assumes that there is supporting infrastructure in place to properly provision an instance. Prerequisites: `` Virtual Cloud Network Subnet ` Variables The variables used for the module are populated using a shell script. The purpose behind this is to allow freedom to define the variables outside of the module. This is done to allow modules greater flexibility
| Name | Type | Description | Default |
|---|---|---|---|
| shape | any | The type of shape to provision the instance with. Example: 1 OCPU = VM.Shape2.1 | required |
| subnet_id | any | The OCID of the subnet the instance will be located. | required |
| display_name | any | The name you would like the instance to appear as in the console. | required |
| source_id | any | The OCID of the image to provision the instance with. | required |
| ssh_authorized_keys | any | The Public SSH key associated with the authorized user. | required |
| availability_domain | any | The availability domain where the instance should be located. This should be tie | required |
| compartment_id | any | OCID of the compartment you want the instance to be provisioned. | required |
| source_type | any | The source type of the instance. | "image" |