oci_osmanagement_software_source

This resource provides the Software Source resource in Oracle Cloud Infrastructure OS Management service.

Creates a new custom Software Source on the management system. This will not contain any packages after it is first created, and they must be added later.

Example Usage

resource "oci_osmanagement_software_source" "test_software_source" {
	#Required
	arch_type = var.software_source_arch_type
	compartment_id = var.compartment_id
	display_name = var.software_source_display_name

	#Optional
	checksum_type = var.software_source_checksum_type
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.software_source_description
	freeform_tags = {"bar-key"= "value"}
	maintainer_email = var.software_source_maintainer_email
	maintainer_name = var.software_source_maintainer_name
	maintainer_phone = var.software_source_maintainer_phone
	parent_id = oci_osmanagement_parent.test_parent.id
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Software Source * update - (Defaults to 20 minutes), when updating the Software Source * delete - (Defaults to 20 minutes), when destroying the Software Source

Import

SoftwareSources can be imported using the id, e.g.

$ terraform import oci_osmanagement_software_source.test_software_source "id"