oci_apm_synthetics_on_premise_vantage_point_worker

This resource provides the On Premise Vantage Point Worker resource in Oracle Cloud Infrastructure Apm Synthetics service.

Registers a new worker.

Example Usage

resource "oci_apm_synthetics_on_premise_vantage_point_worker" "test_on_premise_vantage_point_worker" {
	#Required
	apm_domain_id = oci_apm_apm_domain.test_apm_domain.id
	name = var.on_premise_vantage_point_worker_name
	on_premise_vantage_point_id = oci_apm_synthetics_on_premise_vantage_point.test_on_premise_vantage_point.id
	resource_principal_token_public_key = var.on_premise_vantage_point_worker_resource_principal_token_public_key
	version = var.on_premise_vantage_point_worker_version

	#Optional
	configuration_details = var.on_premise_vantage_point_worker_configuration_details
	defined_tags = {"foo-namespace.bar-key"= "value"}
	freeform_tags = {"bar-key"= "value"}
	priority = var.on_premise_vantage_point_worker_priority
	status = var.on_premise_vantage_point_worker_status
	worker_type = var.on_premise_vantage_point_worker_worker_type
}

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 On Premise Vantage Point Worker * update - (Defaults to 20 minutes), when updating the On Premise Vantage Point Worker * delete - (Defaults to 20 minutes), when destroying the On Premise Vantage Point Worker

Import

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

$ terraform import oci_apm_synthetics_on_premise_vantage_point_worker.test_on_premise_vantage_point_worker "onPremiseVantagePoints/{onPremiseVantagePointId}/workers/{workerId}/apmDomainId/{apmDomainId}"