Skip to content

Commit

Permalink
adding readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stobias123 committed Jan 6, 2020
1 parent 1c13720 commit 88c90b6
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions README.md
@@ -1,13 +1,31 @@
# terraform-provider-orion

Provides two useful things `data_source_subnet` and `resource_ip_address`


`resource_ip_address` - Gets the first available ip address from a subnet.
`data_source_subnet` - Provides info about the chosen VLAN.

Usage:


```
resource "" {
}
"vlan":
"subnet_name":
"address":
"status":
"status_string":
```
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](https://github.com/stobias123/gosolar/tree/master/command)

0 comments on commit 88c90b6

Please sign in to comment.