Skip to content

Latest commit

 

History

History
242 lines (188 loc) · 5.11 KB

oci_core_instance.md

File metadata and controls

242 lines (188 loc) · 5.11 KB

oci_core_instance

back

Index

Terraform

terraform {
  required_providers {
    oci = ">= 4.21.0"
  }
}

top

Example Usage

module "oci_core_instance" {
  source = "./modules/oci/d/oci_core_instance"

  # instance_id - (required) is a type of string
  instance_id = null
}

top

Variables

variable "instance_id" {
  description = "(required)"
  type        = string
}

top

Datasource

data "oci_core_instance" "this" {
  # instance_id - (required) is a type of string
  instance_id = var.instance_id
}

top

Outputs

output "agent_config" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.agent_config
}

output "availability_config" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.availability_config
}

output "availability_domain" {
  description = "returns a string"
  value       = data.oci_core_instance.this.availability_domain
}

output "boot_volume_id" {
  description = "returns a string"
  value       = data.oci_core_instance.this.boot_volume_id
}

output "capacity_reservation_id" {
  description = "returns a string"
  value       = data.oci_core_instance.this.capacity_reservation_id
}

output "compartment_id" {
  description = "returns a string"
  value       = data.oci_core_instance.this.compartment_id
}

output "create_vnic_details" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.create_vnic_details
}

output "dedicated_vm_host_id" {
  description = "returns a string"
  value       = data.oci_core_instance.this.dedicated_vm_host_id
}

output "defined_tags" {
  description = "returns a map of string"
  value       = data.oci_core_instance.this.defined_tags
}

output "display_name" {
  description = "returns a string"
  value       = data.oci_core_instance.this.display_name
}

output "extended_metadata" {
  description = "returns a map of string"
  value       = data.oci_core_instance.this.extended_metadata
}

output "fault_domain" {
  description = "returns a string"
  value       = data.oci_core_instance.this.fault_domain
}

output "freeform_tags" {
  description = "returns a map of string"
  value       = data.oci_core_instance.this.freeform_tags
}

output "hostname_label" {
  description = "returns a string"
  value       = data.oci_core_instance.this.hostname_label
}

output "id" {
  description = "returns a string"
  value       = data.oci_core_instance.this.id
}

output "image" {
  description = "returns a string"
  value       = data.oci_core_instance.this.image
}

output "instance_options" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.instance_options
}

output "ipxe_script" {
  description = "returns a string"
  value       = data.oci_core_instance.this.ipxe_script
}

output "is_pv_encryption_in_transit_enabled" {
  description = "returns a bool"
  value       = data.oci_core_instance.this.is_pv_encryption_in_transit_enabled
}

output "launch_mode" {
  description = "returns a string"
  value       = data.oci_core_instance.this.launch_mode
}

output "launch_options" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.launch_options
}

output "metadata" {
  description = "returns a map of string"
  value       = data.oci_core_instance.this.metadata
}

output "platform_config" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.platform_config
}

output "preserve_boot_volume" {
  description = "returns a bool"
  value       = data.oci_core_instance.this.preserve_boot_volume
}

output "private_ip" {
  description = "returns a string"
  value       = data.oci_core_instance.this.private_ip
}

output "public_ip" {
  description = "returns a string"
  value       = data.oci_core_instance.this.public_ip
}

output "region" {
  description = "returns a string"
  value       = data.oci_core_instance.this.region
}

output "shape" {
  description = "returns a string"
  value       = data.oci_core_instance.this.shape
}

output "shape_config" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.shape_config
}

output "source_details" {
  description = "returns a list of object"
  value       = data.oci_core_instance.this.source_details
}

output "state" {
  description = "returns a string"
  value       = data.oci_core_instance.this.state
}

output "subnet_id" {
  description = "returns a string"
  value       = data.oci_core_instance.this.subnet_id
}

output "system_tags" {
  description = "returns a map of string"
  value       = data.oci_core_instance.this.system_tags
}

output "time_created" {
  description = "returns a string"
  value       = data.oci_core_instance.this.time_created
}

output "time_maintenance_reboot_due" {
  description = "returns a string"
  value       = data.oci_core_instance.this.time_maintenance_reboot_due
}

output "this" {
  value = oci_core_instance.this
}

top