Created
April 3, 2020 14:36
-
-
Save sw-samuraj/fe61df40769c2f5fcc9af36cd9f3ed3d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# following list is shortened for brevity | |
resource oci_core_instance export_first-terraform-discovery { | |
availability_domain = "YHQr:US-ASHBURN-AD-1" | |
compartment_id = "${var.compartment_ocid}" | |
create_vnic_details { | |
assign_public_ip = "true" | |
display_name = "first-terraform-discovery" | |
hostname_label = "first-terraform-discovery" | |
private_ip = "10.0.0.8" | |
skip_source_dest_check = "false" | |
subnet_id = "${oci_core_subnet.export_customer-dns-subnet.id}" | |
} | |
defined_tags = { | |
"devops.created-by" = "Vít Kotačka" | |
"devops.purpose" = "Terraform discovery demo" | |
} | |
display_name = "first-terraform-discovery" | |
fault_domain = "FAULT-DOMAIN-1" | |
freeform_tags = {} | |
shape = "VM.Standard2.1" | |
source_details { | |
source_id = "${var.export_second-terraform-discovery_source_image_id}" | |
source_type = "image" | |
} | |
state = "RUNNING" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment