ome_firmware_baseline_compliance_report (Data Source)
This Terraform DataSource is used to query firmware baseline compliance report of OME. The information fetched from this data source can be used for getting the details / for further processing in resource block.
Example Usage
/*
Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
Licensed under the Mozilla Public License Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://mozilla.org/MPL/2.0/
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
# Gets the firmware baseline compliance report
data "ome_firmware_baseline_compliance_report" "report1" {
baseline_name = "tfacc_baseline_dell_1"
# Supported filter keys are: DeviceName, DeviceModel, ServiceTag
# Only one filter key/value can be used at a time
# filter {
# key = "DeviceModel"
# value = "Valid Name"
# }
}
output "all" {
value = data.ome_firmware_baseline_compliance_report.report1
}
After the successful execution of above said block, We can see the output value by executing terraform output
command.
Schema
Required
baseline_name
(String) Name of the Baseline.
Optional
filter
(Block, Optional) (see below for nested schema)
Read-Only
firmware_compliance_reports
(Attributes List) Firmware Baseline Compliance Reports (see below for nested schema)id
(Number) Compliance Status
Nested Schema for filter
Optional:
key
(String) Firmware Baseline Compliance Reports with filter key and value pair. Supported filter keys are: DeviceName, DeviceModel, ServiceTagvalue
(String) The value for the filter key
Nested Schema for firmware_compliance_reports
Read-Only:
compliance_status
(String) Compliance Statuscomponent_compliance_reports
(Attributes List) Component Compliance Reports (see below for nested schema)device_firmware_update_capable
(Boolean) Device Firmware Update Capabledevice_id
(Number) Device IDdevice_model
(String) Device Modeldevice_name
(String) Device Namedevice_type_id
(Number) Device Type IDdevice_type_name
(String) Device Type Namedevice_user_firmware_update_capable
(Boolean) Device User Firmware Update Capablefirmware_status
(String) Firmware Statusid
(Number) IDreboot_required
(Boolean) Reboot Requiredservice_tag
(String) Service Tag
Nested Schema for firmware_compliance_reports.component_compliance_reports
Read-Only:
compliance_dependencies
(Attributes List) Compliance Dependencies (see below for nested schema)compliance_status
(String) Compliance Statuscomponent_type
(String) Component Typecriticality
(String) Criticalitycurrent_version
(String) Current Versiondependency_upgrade_required
(Boolean) Dependency Upgrade Requiredid
(Number) IDimpact_assessment
(String) Impact Assessmentname
(String) Namepath
(String) Pathprerequisite_info
(String) Prerequisite Inforeboot_required
(Boolean) Reboot Requiredsource_name
(String) Source Nametarget_identifier
(String) Target Identifierunique_identifier
(String) Unique Identifierupdate_action
(String) Update Actionuri
(String) URIversion
(String) Version
Nested Schema for firmware_compliance_reports.component_compliance_reports.compliance_dependencies
Read-Only:
compliance_dependency_id
(String) Compliance Dependency Idis_hard_dependency
(Boolean) Is Hard Dependencyname
(String) Namepath
(String) Pathreboot_required
(Boolean) Reboot Requiredsource_name
(String) Source Nameunique_identifier
(String) Unique Identifierupdate_action
(String) Update Actionuri
(String) Uriversion
(String) Version