Skip to content

Files

Latest commit

b19dbe0 · Nov 29, 2022

History

History
291 lines (247 loc) · 10.4 KB

terraformoptions.adoc

File metadata and controls

291 lines (247 loc) · 10.4 KB

Requirements

Name Version

>= 0.12

oci

>= 3.27

Providers

Name Version

oci

4.61.0

Inputs

Name Description Type Default Required

The availability domain number of the instance. If none is provided, it will start with AD-1 and continue in round-robin.

number

null

no

Deprecated: use var.public_ip instead. Whether the VNIC should be assigned a public IP address (Always EPHEMERAL).

bool

false

no

(Optional) The type of volume. The only supported values are iscsi and paravirtualized.

string

"paravirtualized"

no

(Updatable) The baseline OCPU utilization for a subcore burstable VM instance

string

"BASELINE_1_1"

no

Sizes of volumes to create and attach to each instance.

list(number)

[]

no

Choose between default backup policies : gold, silver, bronze. Use disabled to affect no backup policy on the Boot Volume.

string

"disabled"

no

The size of the boot volume in GBs.

number

null

no

Whether each Oracle Cloud Agent plugins should be ENABLED or DISABLED.

map(string)

{
  "autonomous_linux": "ENABLED",
  "bastion": "ENABLED",
  "block_volume_mgmt": "DISABLED",
  "custom_logs": "ENABLED",
  "management": "DISABLED",
  "monitoring": "ENABLED",
  "osms": "ENABLED",
  "run_command": "ENABLED",
  "vulnerability_scanning": "ENABLED",
  "java_management_service": "DISABLED"
}

no

(Updatable) The OCID of the compartment where to create all resources

string

n/a

yes

predefined and scoped to a namespace to tag the resources created using defined tags.

map(string)

null

no

(Updatable) Additional metadata key/value pairs that you provide.

map(any)

{}

no

simple key-value pairs to tag the resources created using freeform tags.

map(string)

null

no

The hostname for the VNIC’s primary private IP.

string

""

no

Number of identical instances to launch from a single module.

number

1

no

(Updatable) A user-friendly name for the instance. Does not have to be unique, and it’s changeable.

string

""

no

(Updatable) The total amount of memory available to the instance, in gigabytes.

number

null

no

(Updatable) The total number of OCPUs available to the instance.

number

null

no

(Updatable) The target state for the instance. Could be set to RUNNING or STOPPED.

string

"RUNNING"

no

Timeout setting for creating instance.

string

"25m"

no

(Optional) The iPXE script which to continue the boot process on the instance.

string

null

no

Specifies whether to delete or preserve the boot volume when terminating an instance.

bool

false

no

A list of the OCIDs of the network security groups (NSGs) to add the primary VNIC to

list(string)

null

no

Private IP addresses of your choice to assign to the VNICs.

list(string)

[]

no

Whether to create a Public IP to attach to primary vnic and which lifetime. Valid values are NONE, RESERVED or EPHEMERAL.

string

"NONE"

no

(Updatable) A user-friendly name. Does not have to be unique, and it’s changeable.

string

null

no

Platform to create resources in.

string

"linux"

no

The shape of an instance.

string

"VM.Standard2.1"

no

Whether the source/destination check is disabled on the VNIC.

bool

false

no

The OCID of an image or a boot volume to use, depending on the value of source_type.

string

n/a

yes

The source type for the instance.

string

"image"

no

DEPRECATED: use ssh_public_keys instead. Public SSH keys path to be included in the ~/.ssh/authorized_keys file for the default user on the instance.

string

null

no

Public SSH keys to be included in the ~/.ssh/authorized_keys file for the default user on the instance. To provide multiple keys, see docs/instance_ssh_keys.adoc.

string

null

no

The unique identifiers (OCIDs) of the subnets in which the instance primary VNICs are created.

list(string)

n/a

yes

(Applicable when attachment_type=iscsi) Whether to use CHAP authentication for the volume attachment.

bool

false

no

Provide your own base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration.

string

null

no

A user-friendly name for the VNIC.

string

""

no

Outputs

Name Description

all attributes of created instance

ocid of created instances.

Passwords to login to Windows instance.

Usernames to login to Windows instance.

Private and Public IPs for each instance.

Private IPs of created instances.

all attributes of created private ips

Public IPs of created instances.

all attributes of created public ip

all attributes of created vnic attachments

all attributes of created volumes

all attributes of created volumes attachments