2017-01-18 15:43:09 +01:00
|
|
|
---
|
|
|
|
layout: "profitbricks"
|
|
|
|
page_title: "ProfitBricks: profitbricks_datacenter"
|
2017-01-26 18:28:01 +01:00
|
|
|
sidebar_current: "docs-profitbricks-resource-datacenter"
|
2017-01-18 15:43:09 +01:00
|
|
|
description: |-
|
|
|
|
Creates and manages Profitbricks Virtual Data Center.
|
|
|
|
---
|
|
|
|
|
|
|
|
# profitbricks\_datacenter
|
|
|
|
|
|
|
|
Manages a Virtual Data Center on ProfitBricks
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
resource "profitbricks_datacenter" "example" {
|
2017-02-18 23:48:50 +01:00
|
|
|
name = "datacenter name"
|
|
|
|
location = "us/las"
|
2017-01-18 15:43:09 +01:00
|
|
|
description = "datacenter description"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
|
|
|
* `name` - (Required)[string] The name of the Virtual Data Center.
|
2017-02-18 23:48:50 +01:00
|
|
|
* `location` - (Required)[string] The physical location where the data center will be created.
|
2017-01-18 15:43:09 +01:00
|
|
|
* `description` - (Optional)[string] Description for the data center.
|