Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivoronin/terraform-provider-macaddress

Terraform provider for generating random locally administered unicast MAC address
https://github.com/ivoronin/terraform-provider-macaddress

Last synced: 5 days ago
JSON representation

Terraform provider for generating random locally administered unicast MAC address

Awesome Lists containing this project

README

        

# terraform-provider-macaddress
Generates random locally administered unicast MAC address

Terraform Registry: https://registry.terraform.io/providers/ivoronin/macaddress/latest

Docs: https://registry.terraform.io/providers/ivoronin/macaddress/latest/docs

# Use case
```hcl
terraform {
required_providers {
macaddress = {
source = "ivoronin/macaddress"
version = "0.3.0"
}
}
}

resource "macaddress" "example_address" {
}

// Terraform Mikrotik Provider - https://github.com/ddelnano/terraform-provider-mikrotik
resource "mikrotik_dhcp_lease" "example_lease" {
address = "10.0.0.10"
macaddress = upper(macaddress.example_address.address)
comment = "Example DHCP Lease"
}
```