oci_os_management_hub_managed_instance_group

This resource provides the Managed Instance Group resource in Oracle Cloud Infrastructure Os Management Hub service.

Creates a new managed instance group.

Example Usage

resource "oci_os_management_hub_managed_instance_group" "test_managed_instance_group" {
	#Required
	arch_type = var.managed_instance_group_arch_type
	compartment_id = var.compartment_id
	display_name = var.managed_instance_group_display_name
	os_family = var.managed_instance_group_os_family
	vendor_name = var.managed_instance_group_vendor_name

	#Optional
	autonomous_settings {

		#Optional
		is_data_collection_authorized = var.managed_instance_group_autonomous_settings_is_data_collection_authorized
	}
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.managed_instance_group_description
	freeform_tags = {"Department"= "Finance"}
	location = var.managed_instance_group_location
	managed_instance_ids = var.managed_instance_group_managed_instance_ids
	notification_topic_id = oci_ons_notification_topic.test_notification_topic.id
	software_source_ids {
	}
}

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

Import

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

$ terraform import oci_os_management_hub_managed_instance_group.test_managed_instance_group "id"