Data Source: oci_os_management_hub_lifecycle_environments

This data source provides the list of Lifecycle Environments in Oracle Cloud Infrastructure Os Management Hub service.

Lists lifecycle environments that match the specified compartment or lifecycle environment OCID. Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS family.

Example Usage

data "oci_os_management_hub_lifecycle_environments" "test_lifecycle_environments" {

	#Optional
	arch_type = var.lifecycle_environment_arch_type
	compartment_id = var.compartment_id
	display_name = var.lifecycle_environment_display_name
	display_name_contains = var.lifecycle_environment_display_name_contains
	lifecycle_environment_id = oci_os_management_hub_lifecycle_environment.test_lifecycle_environment.id
	location = var.lifecycle_environment_location
	location_not_equal_to = var.lifecycle_environment_location_not_equal_to
	os_family = var.lifecycle_environment_os_family
	state = var.lifecycle_environment_state
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

LifecycleEnvironment Reference

The following attributes are exported: