oci_core_instance_pool_instance

This resource provides the Instance Pool Instance resource in Oracle Cloud Infrastructure Core service.

Attaches an instance to an instance pool. For information about the prerequisites that an instance must meet before you can attach it to a pool, see Attaching an Instance to an Instance Pool.

Using this resource will impact the size of the instance pool, attach will increment the size of the pool

Example Usage

resource "oci_core_instance_pool_instance" "test_instance_pool_instance" {
	#Required
	instance_id = oci_core_instance.test_instance.id
	instance_pool_id = oci_core_instance_pool.test_instance_pool.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 Instance Pool Instance * update - (Defaults to 20 minutes), when updating the Instance Pool Instance * delete - (Defaults to 20 minutes), when destroying the Instance Pool Instance

Import

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

$ terraform import oci_core_instance_pool_instance.test_instance_pool_instance "instancePools/{instancePoolId}/instances/compartmentId/{compartmentId}"