oci_osmanagement_managed_instance_group

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

Creates a new Managed Instance Group on the management system. This will not contain any managed instances after it is first created, and they must be added later.

Example Usage

resource "oci_osmanagement_managed_instance_group" "test_managed_instance_group" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.managed_instance_group_display_name

	#Optional
	defined_tags = {"foo-namespace.bar-key"= "value"}
	description = var.managed_instance_group_description
	freeform_tags = {"bar-key"= "value"}
	os_family = var.managed_instance_group_os_family
	managed_instance_ids = var.managed_instance_group_managed_instance_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_osmanagement_managed_instance_group.test_managed_instance_group "id"