0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 18:42:58 +00:00
terraform-provider-proxmox/docs/resources/virtual_environment_cluster_alias.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

991 B

layout title permalink nav_order parent subcategory
page proxmox_virtual_environment_cluster_alias /resources/virtual_environment_cluster_alias 2 Resources Virtual Environment

Resource: proxmox_virtual_environment_cluster_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"
}

Argument Reference

  • name - (Required) Alias name.
  • cidr - (Required) Network/IP specification in CIDR format.
  • comment - (Optional) Alias comment.

Attribute Reference

There are no attribute references available for this resource.