powerflex_compatibility_management (Data Source)

This datasource is used to query the existing compatibility management from the PowerFlex array. The information fetched from this datasource 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.
*/

# commands to run this tf file : terraform init && terraform apply --auto-approve
# empty block of the powerflex_compatibility_management datasource will give return the compatibility management details

data "powerflex_compatibility_management" "default" {
}

output "default" {
  value = data.powerflex_compatibility_management.default
}

After the successful execution of above said block, we can see the output by executing terraform output command. Also, we can fetch information via the variable: data.powerflex_compatibility_management.datasource_block_name.attribute_name where datasource_block_name is the name of the data source block and attribute_name is the attribute which user wants to fetch.

Schema

Optional

  • repository_path (String) Repository Path of the Compatibility Management Instance.

Read-Only

  • available_version (String) Available Version of the Compatibility Management Instance.
  • compatibility_data (String) Compatibility Data of the Compatibility Management Instance.
  • compatibility_data_bytes (String) Compatibility Data Bytes of the Compatibility Management Instance.
  • current_version (String) Current Version of the Compatibility Management Instance.
  • id (String) Unique identifier of the Compatibility Management Instance.
  • source (String) Source of the Compatibility Management Instance.