powerscale_ntpsettings (Data Source)

This datasource is used to query the NTP Settings from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. You can use NTP Settings to change the settings of NTP Servers

Example Usage

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

# This Terraform DataSource is used to query the details of the NTP settings from PowerScale array.

# Returns the PowerScale NTP settings on PowerScale array
data "powerscale_ntpsettings" "all" {
}

# Output value of above block by executing 'terraform output' command
# You can use the the fetched information by the variable data.powerscale_ntpsettings.all
output "powerscale_ntpsettings_data_all" {
  value = data.powerscale_ntpsettings.all
}

Schema

Read-Only

  • chimers (Number) Number of nodes that will contact the NTP servers.
  • excluded (List of String) Node number (LNN) for nodes excluded from chimer duty.
  • key_file (String) Path to NTP key file within /ifs.