oci_cloud_bridge_agent

This resource provides the Agent resource in Oracle Cloud Infrastructure Cloud Bridge service.

Creates an Agent.

Example Usage

resource "oci_cloud_bridge_agent" "test_agent" {
    #Required
    agent_type = var.agent_agent_type
    agent_version = var.agent_agent_version
    compartment_id = var.compartment_id
    display_name = var.agent_display_name
    environment_id = oci_cloud_bridge_environment.test_environment.id
    os_version = var.agent_os_version

    #Optional
    defined_tags = {"Operations.CostCenter"= "42"}
    freeform_tags = {"Department"= "Finance"}
}

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

Import

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

$ terraform import oci_cloud_bridge_agent.test_agent "id"