2015-05-31 16:58:14 +02:00
|
|
|
---
|
|
|
|
layout: "packet"
|
2015-10-09 23:43:10 +02:00
|
|
|
page_title: "Packet: packet_project"
|
2015-05-31 16:58:14 +02:00
|
|
|
sidebar_current: "docs-packet-resource-project"
|
|
|
|
description: |-
|
|
|
|
Provides a Packet Project resource.
|
|
|
|
---
|
|
|
|
|
|
|
|
# packet\_project
|
|
|
|
|
|
|
|
Provides a Packet Project resource to allow you manage devices
|
|
|
|
in your projects.
|
|
|
|
|
|
|
|
## Example Usage
|
|
|
|
|
|
|
|
```
|
|
|
|
# Create a new Project
|
|
|
|
resource "packet_project" "tf_project_1" {
|
|
|
|
name = "Terraform Fun"
|
|
|
|
payment_method = "payment-method-id"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## Argument Reference
|
|
|
|
|
|
|
|
The following arguments are supported:
|
|
|
|
|
2015-11-15 19:55:42 +01:00
|
|
|
* `name` - (Required) The name of the Project in Packet.net
|
2015-05-31 16:58:14 +02:00
|
|
|
* `payment_method` - (Required) The id of the payment method on file to use for services created
|
|
|
|
on this project.
|
|
|
|
|
|
|
|
## Attributes Reference
|
|
|
|
|
|
|
|
The following attributes are exported:
|
|
|
|
|
2015-11-15 19:55:42 +01:00
|
|
|
* `id` - The unique ID of the project
|
2015-05-31 16:58:14 +02:00
|
|
|
* `payment_method` - The id of the payment method on file to use for services created
|
|
|
|
on this project.
|
2015-11-15 19:55:42 +01:00
|
|
|
* `created` - The timestamp for when the Project was created
|
|
|
|
* `updated` - The timestamp for the last time the Project was updated
|