0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-04 21:14:05 +00:00
terraform-provider-proxmox/docs/resources/alias.md

39 lines
846 B
Markdown

---
layout: page
title: Alias
permalink: /ressources/alias
nav_order: 1
parent: Resources
---
# Resource: Alias
Aliases are used to see what devices or group of devices are affected by a rule.
We can create aliases to identify an IP address or a network.
## Example Usage
```
resource "proxmox_virtual_environment_cluster_alias" "local_network" {
name = "local_network"
cidr = "192.168.0.0/23"
comment = "Managed by Terraform"
}
resource "proxmox_virtual_environment_cluster_alias" "ubuntu_vm" {
name = "ubuntu"
cidr = "192.168.0.1"
comment = "Managed by Terraform"
}
```
## Arguments Reference
* `name` - (Required) Alias name.
* `cidr` - (Required) Network/IP specification in CIDR format.
* `comment` - (Optional) Alias comment.
## Attributes Reference
There are no attribute references available for this resource.