Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 690 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 690 Bytes

terraform-provider-orion

**Feedback appreciated! ** Open an issue!

Usage

Provides two useful things: data_source_subnet and resource_ip_address

data_source_subnet - Provides info about the chosen VLAN.

resource_ip_address - Gets the first available ip address from a subnet.

Example:

resource "orion_ip_address" "test" {
    vlan = 148
}

data "orion_subnet" "test" {
    vlan = 148
}

output "orion_ip" {
    value = orion_ip_address.test.address
}

output "orion_subnet" {
    value = data.orion_subnet.test.address
}

Additional info

This all pairs well with solarcmd found here