oci_os_management_hub_profile

This resource provides the Profile resource in Oracle Cloud Infrastructure Os Management Hub service.

Creates a registration profile. A profile defines the content applied to the instance when registering it with the service.

Example Usage

resource "oci_os_management_hub_profile" "test_profile" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.profile_display_name
	profile_type = var.profile_profile_type

	#Optional
	arch_type = var.profile_arch_type
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.profile_description
	freeform_tags = {"Department"= "Finance"}
	is_default_profile = var.profile_is_default_profile
	lifecycle_stage_id = oci_os_management_hub_lifecycle_stage.test_lifecycle_stage.id
	managed_instance_group_id = oci_os_management_hub_managed_instance_group.test_managed_instance_group.id
	management_station_id = oci_os_management_hub_management_station.test_management_station.id
	os_family = var.profile_os_family
	registration_type = var.profile_registration_type
	software_source_ids = var.profile_software_source_ids
	vendor_name = var.profile_vendor_name
}

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 Profile * update - (Defaults to 20 minutes), when updating the Profile * delete - (Defaults to 20 minutes), when destroying the Profile

Import

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

$ terraform import oci_os_management_hub_profile.test_profile "id"