27 lines
590 B
Markdown
27 lines
590 B
Markdown
|
---
|
||
|
layout: "profitbricks"
|
||
|
page_title: "ProfitBricks: profitbricks_lan"
|
||
|
sidebar_current: "docs-profitbricks-resource-profitbricks_lan"
|
||
|
description: |-
|
||
|
Creates and manages LAN objects.
|
||
|
---
|
||
|
|
||
|
# profitbricks\_lan
|
||
|
|
||
|
Manages a LANs on ProfitBricks
|
||
|
|
||
|
## Example Usage
|
||
|
|
||
|
```
|
||
|
resource "profitbricks_lan" "example" {
|
||
|
datacenter_id = "${profitbricks_datacenter.example.id}"
|
||
|
public = true
|
||
|
}
|
||
|
```
|
||
|
|
||
|
##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.
|