fix: typos and llm inaccuracies

This commit is contained in:
Noah Masur
2025-06-29 22:02:51 -04:00
parent 2704642b3d
commit 11b7587783
3 changed files with 6 additions and 6 deletions

View File

@ -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"

View File

@ -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" {

View File

@ -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" {