Skip to content

Terraform provider for generating random locally administered unicast MAC address

Notifications You must be signed in to change notification settings

ivoronin/terraform-provider-macaddress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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"
}

About

Terraform provider for generating random locally administered unicast MAC address

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages