0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-02 03:22:59 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_time.md
Leah 4147ff6a29
feat: add import support for a lot of resources (#390)
* add import support for a lot of resources

* fix lints

* set user_id after importing

(cherry picked from commit c3d09ed00f6e1d7b0bb3ab01a1fc5c81510aa2e1)

* add tests, fix empty ID

* add import docs

* fix lint
2023-07-04 21:37:14 -04:00

40 lines
793 B
Markdown

---
layout: page
title: proxmox_virtual_environment_time
permalink: /resources/virtual_environment_time
nav_order: 15
parent: Resources
subcategory: Virtual Environment
---
# Resource: proxmox_virtual_environment_time
Manages the time for a specific node.
## Example Usage
```terraform
resource "proxmox_virtual_environment_time" "first_node_time" {
node_name = "first-node"
time_zone = "UTC"
}
```
## Argument Reference
- `node_name` - (Required) A node name.
- `time_zone` - (Required) The node's time zone.
## Attribute Reference
- `local_time` - The node's local time.
- `utc_time` - The node's local time formatted as UTC.
## Import
Instances can be imported using the `node_name`, e.g.,
```bash
$ terraform import proxmox_virtual_environment_dns.first_node first-node
```