2017-01-18 15:43:09 +01:00
|
|
|
---
|
|
|
|
layout: "profitbricks"
|
|
|
|
page_title: "ProfitBricks: profitbricks_lan"
|
2017-01-26 18:28:01 +01:00
|
|
|
sidebar_current: "docs-profitbricks-resource-lan"
|
2017-01-18 15:43:09 +01:00
|
|
|
description: |-
|
|
|
|
Creates and manages LAN objects.
|
|
|
|
---
|
|
|
|
|
|
|
|
# profitbricks\_lan
|
|
|
|
|
|
|
|
Manages a LANs on ProfitBricks
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
2017-04-17 12:17:54 +02:00
|
|
|
```hcl
|
2017-01-18 15:43:09 +01:00
|
|
|
resource "profitbricks_lan" "example" {
|
|
|
|
datacenter_id = "${profitbricks_datacenter.example.id}"
|
2017-02-18 23:48:50 +01:00
|
|
|
public = true
|
2017-01-18 15:43:09 +01:00
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
##Argument reference
|
|
|
|
|
|
|
|
* `datacenter_id` - (Required) [string]
|
|
|
|
* `name` - (Optional) [string] The name of the LAN
|
|
|
|
* `public` - (Optional) [Boolean] indicating if the LAN faces the public Internet or not.
|