0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 04:22:59 +00:00
terraform-provider-proxmox/docs/data-sources/virtual_environment_time.md
Pavel Boldyrev bf9e31ecfc
chore: lint and reformat the code (#204)
* chore: reformat code

* chore: add commitlint config

* reformat README.md

* add linter config

* lint & reformat docs

* go linter: only new issues

* fix some linting errors

* more reformatting

* disable linter warning for some duplicated code
2023-01-16 18:07:30 -05:00

31 lines
624 B
Markdown

---
layout: page
title: proxmox_virtual_environment_time
permalink: /data-sources/virtual_environment_time
nav_order: 13
parent: Data Sources
subcategory: Virtual Environment
---
# Data Source: proxmox_virtual_environment_time
Retrieves the current time for a specific node.
## Example Usage
```terraform
data "proxmox_virtual_environment_time" "first_node_time" {
node_name = "first-node"
}
```
## Argument Reference
- `node_name` - (Required) A node name.
## Attribute Reference
- `local_time` - The node's local time.
- `time_zone` - The node's time zone.
- `utc_time` - The node's local time formatted as UTC.