powerflex_package (Resource)

This resource can be used to upload packages on a PowerFlex Gateway.

Example Usage

/*
Copyright (c) 2023 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.
*/

resource "powerflex_package" "upload-test" {
	file_path = ["/root/powerflex_packages/PowerFlex_3.6.700.103_RHEL_OEL7/EMC-ScaleIO-lia-3.6-700.103.el7.x86_64.rpm",
	"/root/powerflex_packages/PowerFlex_3.6.700.103_RHEL_OEL7/EMC-ScaleIO-mdm-3.6-700.103.el7.x86_64.rpm",
	"/root/powerflex_packages/PowerFlex_3.6.700.103_RHEL_OEL7/EMC-ScaleIO-sds-3.6-700.103.el7.x86_64.rpm",
	"/root/powerflex_packages/PowerFlex_3.6.700.103_RHEL_OEL7/EMC-ScaleIO-sdc-3.6-700.103.el7.x86_64.rpm",
	"/root/powerflex_packages/PowerFlex_3.6.700.103_RHEL_OEL7/EMC-ScaleIO-sdr-3.6-700.103.el7.x86_64.rpm"]
}

Schema

Required

  • file_path (List of String) The list of path of packages

Read-Only

  • id (String) The ID of the package.
  • package_details (Attributes Set) Uploaded Packages details. (see below for nested schema)

Nested Schema for package_details

Read-Only:

  • file_name (String) The Name of package.
  • label (String) Uploaded Package Minor Version with OS Combination.
  • latest (Boolean) Package Version is latest or not
  • linux_flavour (String) Type of Linux OS
  • operating_system (String) Supported OS.
  • sio_patch_number (Number) Package Patch Number.
  • size (Number) Size of Package.
  • type (String) Type of Package. Like. MDM, LIA, SDS, SDC, etc.
  • version (String) Uploaded Package Version.