oci_management_agent_management_agent_install_key

This resource provides the Management Agent Install Key resource in Oracle Cloud Infrastructure Management Agent service.

User creates a new install key as part of this API.

Example Usage

resource "oci_management_agent_management_agent_install_key" "test_management_agent_install_key" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.management_agent_install_key_display_name

	#Optional
	allowed_key_install_count = var.management_agent_install_key_allowed_key_install_count
	is_unlimited = var.management_agent_install_key_is_unlimited
	time_expires = var.management_agent_install_key_time_expires
}

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

Import

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

$ terraform import oci_management_agent_management_agent_install_key.test_management_agent_install_key "id"