You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

88 lines
2.6 KiB

# resource "oci_core_instance" "lon-kubeworker-g0" {
# availability_domain = "JnpY:UK-LONDON-1-AD-3"
# compartment_id = var.compartment_ocid
# display_name = "lon-kubeworker-g0"
# shape = "VM.Standard.A1.Flex"
# # preserve the volume if instance is deleted
# preserve_boot_volume = true
# source_details {
# source_type = "image"
# # https://docs.oracle.com/en-us/iaas/images/ubuntu-2004/
# source_id = "ocid1.image.oc1.uk-london-1.aaaaaaaaajga6k2rnywbyuyvwpw446vcfcokumn4ddrjpdvrddqhhlfvanuq"
# boot_volume_size_in_gbs = "50"
# }
# metadata = {
# ssh_authorized_keys = var.ssh_public_key
# }
# timeouts {
# create = "60m"
# }
# agent_config {
# are_all_plugins_disabled = true
# is_management_disabled = true
# is_monitoring_disabled = true
# }
# create_vnic_details {
# assign_public_ip = false
# private_ip = var.lon_instances_ips["lon-kubeworker-g0"]
# skip_source_dest_check = true
# subnet_id = oci_core_subnet.sshonly.id
# display_name = "lon-kubeworker-g0_vnic"
# hostname_label = "lon-kubeworker-g0"
# #nsg_ids = [ oci_core_security_list.ssh.id ]
# }
# shape_config {
# memory_in_gbs = "6"
# ocpus = "1"
# }
# }
# resource "oci_core_instance" "lon-kubeworker-g1" {
# availability_domain = "JnpY:UK-LONDON-1-AD-3"
# compartment_id = var.compartment_ocid
# display_name = "lon-kubeworker-g1"
# shape = "VM.Standard.A1.Flex"
# # preserve the volume if instance is deleted
# preserve_boot_volume = true
# source_details {
# source_type = "image"
# # https://docs.oracle.com/en-us/iaas/images/ubuntu-2004/
# source_id = "ocid1.image.oc1.uk-london-1.aaaaaaaaajga6k2rnywbyuyvwpw446vcfcokumn4ddrjpdvrddqhhlfvanuq"
# boot_volume_size_in_gbs = "50"
# }
# metadata = {
# ssh_authorized_keys = var.ssh_public_key
# }
# timeouts {
# create = "60m"
# }
# agent_config {
# are_all_plugins_disabled = true
# is_management_disabled = true
# is_monitoring_disabled = true
# }
# create_vnic_details {
# assign_public_ip = false
# private_ip = var.lon_instances_ips["lon-kubeworker-g1"]
# skip_source_dest_check = true
# subnet_id = oci_core_subnet.sshonly.id
# display_name = "lon-kubeworker-g1_vnic"
# hostname_label = "lon-kubeworker-g1"
# #nsg_ids = [ oci_core_security_list.ssh.id ]
# }
# shape_config {
# memory_in_gbs = "6"
# ocpus = "1"
# }
# }