mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 13:50:13 +00:00
fix: typos and llm inaccuracies
This commit is contained in:
@ -52,11 +52,11 @@ resource "oci_core_image" "my_custom_image" {
|
|||||||
|
|
||||||
# These properties help OCI understand how to launch instances from this image
|
# These properties help OCI understand how to launch instances from this image
|
||||||
# Adjust based on your custom image's OS and boot mode
|
# Adjust based on your custom image's OS and boot mode
|
||||||
launch_mode = "PARAVIRTUALIZED" # Or "NATIVE", "EMULATED", "CUSTOM"
|
operating_system = "NixOS" # e.g., "CentOS", "Debian", "Windows"
|
||||||
operating_system = "NixOS" # e.g., "CentOS", "Debian", "Windows"
|
operating_system_version = "25.05" # e.g., "7", "11", "2019"
|
||||||
operating_system_version = "25.05" # e.g., "7", "11", "2019"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
launch_mode = "PARAVIRTUALIZED" # Or "NATIVE", "EMULATED", "CUSTOM"
|
||||||
# Optional: for specific launch options if your image requires them
|
# Optional: for specific launch options if your image requires them
|
||||||
# launch_options {
|
# launch_options {
|
||||||
# boot_volume_type = "PARAVIRTUALIZED"
|
# boot_volume_type = "PARAVIRTUALIZED"
|
||||||
|
@ -10,7 +10,7 @@ resource "oci_core_internet_gateway" "my_igw" {
|
|||||||
compartment_id = var.compartment_ocid
|
compartment_id = var.compartment_ocid
|
||||||
vcn_id = oci_core_vcn.my_vpc.id
|
vcn_id = oci_core_vcn.my_vpc.id
|
||||||
display_name = "main-igw"
|
display_name = "main-igw"
|
||||||
is_enabled = true
|
enabled = true
|
||||||
}
|
}
|
||||||
|
|
||||||
resource "oci_core_route_table" "my_public_route_table" {
|
resource "oci_core_route_table" "my_public_route_table" {
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
output "host_ip" {
|
output "host_ip" {
|
||||||
description = "The public IP address of the launched instance."
|
description = "The public IP address of the launched instance."
|
||||||
value = oci_core_instance.ubuntu_compute_instance.public_ip
|
value = oci_core_instance.my_compute_instance.public_ip
|
||||||
}
|
}
|
||||||
|
|
||||||
output "instance_id" {
|
output "instance_id" {
|
||||||
description = "The OCID of the launched instance."
|
description = "The OCID of the launched instance."
|
||||||
value = oci_core_instance.ubuntu_compute_instance.id
|
value = oci_core_instance.my_compute_instance.id
|
||||||
}
|
}
|
||||||
|
|
||||||
output "vpc_ocid" {
|
output "vpc_ocid" {
|
||||||
|
Reference in New Issue
Block a user