terraform/website/source/docs/providers/packet/r/project.html.markdown

1.1 KiB

layout page_title sidebar_current description
packet Packet: packet_project docs-packet-resource-project 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:

  • name - (Required) The name of the Project on Packet.net
  • payment_method - (Optional) The unique ID of the payment method on file to use for services created in this project. If not given, the project will use the default payment method for your user.

Attributes Reference

The following attributes are exported:

  • id - The unique ID of the project
  • payment_method - The unique ID of the payment method on file to use for services created in this project.
  • created - The timestamp for when the Project was created
  • updated - The timestamp for the last time the Project was updated