Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ivoronin/terraform-provider-macaddress
- Owner: ivoronin
- Created: 2019-10-29T15:38:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T23:18:31.000Z (10 months ago)
- Last Synced: 2024-06-19T06:50:06.235Z (5 months ago)
- Language: Go
- Size: 43.9 KB
- Stars: 8
- Watchers: 3
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# terraform-provider-macaddress
Generates random locally administered unicast MAC addressTerraform 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"
}
```