-
Notifications
You must be signed in to change notification settings - Fork 684
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1921 from oracle/release_gh
Releasing OCI Provider v5.5.0
- Loading branch information
Showing
397 changed files
with
14,664 additions
and
1,885 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
// Copyright (c) 2017, 2023, Oracle and/or its affiliates. All rights reserved. | ||
// Licensed under the Mozilla Public License v2.0 | ||
|
||
|
||
resource "oci_core_instance_configuration" "test_instance_configuration" { | ||
compartment_id = var.compartment_ocid | ||
display_name = "TestInstanceConfiguration" | ||
|
||
instance_details { | ||
instance_type = "instance_options" | ||
|
||
options { | ||
launch_details { | ||
compartment_id = var.compartment_ocid | ||
shape = var.instance_shape | ||
|
||
shape_config { | ||
vcpus = var.instance_vcpus | ||
memory_in_gbs = var.instance_shape_config_memory_in_gbs | ||
} | ||
|
||
source_details { | ||
source_type = "image" | ||
|
||
instance_source_image_filter_details { | ||
compartment_id = var.compartment_ocid | ||
operating_system = "Oracle Linux" | ||
} | ||
} | ||
|
||
create_vnic_details { | ||
subnet_id = oci_core_subnet.test_subnet.id | ||
display_name = "TFExampleInstanceConfigurationVNIC" | ||
assign_public_ip = true | ||
skip_source_dest_check = false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
resource "oci_core_instance" "test_instance_configuration_instance" { | ||
availability_domain = data.oci_identity_availability_domain.ad.name | ||
compartment_id = var.compartment_ocid | ||
display_name = "TestInstanceConfigurationInstance" | ||
instance_configuration_id = oci_core_instance_configuration.test_instance_configuration.id | ||
|
||
create_vnic_details { | ||
subnet_id = oci_core_subnet.test_subnet.id | ||
display_name = "Primaryvnic" | ||
assign_public_ip = true | ||
} | ||
|
||
metadata = { | ||
ssh_authorized_keys = var.ssh_public_key | ||
user_data = base64encode(file("./userdata/bootstrap")) | ||
} | ||
defined_tags = { | ||
"${oci_identity_tag_namespace.tag-namespace1.name}.${oci_identity_tag.tag2.name}" = "awesome-app-server" | ||
} | ||
|
||
freeform_tags = { | ||
"freeformkey" = "freeformvalue" | ||
} | ||
|
||
timeouts { | ||
create = "60m" | ||
} | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.