oci_os_management_hub_management_station

This resource provides the Management Station resource in Oracle Cloud Infrastructure Os Management Hub service.

Create a management station. You must provide proxy and mirror configuration information.

Example Usage

resource "oci_os_management_hub_management_station" "test_management_station" {
	#Required
	compartment_id = var.compartment_id
	display_name = var.management_station_display_name
	hostname = var.management_station_hostname
	mirror {
		#Required
		directory = var.management_station_mirror_directory
		port = var.management_station_mirror_port
		sslport = var.management_station_mirror_sslport

		#Optional
		sslcert = var.management_station_mirror_sslcert
	}
	proxy {
		#Required
		is_enabled = var.management_station_proxy_is_enabled

		#Optional
		forward = var.management_station_proxy_forward
		hosts = var.management_station_proxy_hosts
		port = var.management_station_proxy_port
	}

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.management_station_description
	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 Management Station * update - (Defaults to 20 minutes), when updating the Management Station * delete - (Defaults to 20 minutes), when destroying the Management Station

Import

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

$ terraform import oci_os_management_hub_management_station.test_management_station "id"