Skip to main content

~> Deprecation Notice Equinix Metal will reach end of life on June 30, 2026. All Metal data sources will be removed in version 5.0.0 of this provider. Use version 4.x of this provider for continued use through sunset. See https://docs.equinix.com/metal/ for more information.

equinix_metal_project (Data Source)

Use this datasource to retrieve attributes of the Project API resource.

Example Usage

# Get Project by name and print UUIDs of its users
data "equinix_metal_project" "tf_project_1" {
name = "Terraform Fun"
}

output "users_of_Terraform_Fun" {
value = data.equinix_metal_project.tf_project_1.user_ids
}

Argument Reference

The following arguments are supported:

  • name - (Optional) The name which is used to look up the project.
  • project_id - (Optional) The UUID by which to look up the project.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • payment_method_id - The UUID of payment method for this project.
  • organization_id - The UUID of this project's parent organization.
  • backend_transfer - Whether Backend Transfer is enabled for this project.
  • created - The timestamp for when the project was created.
  • updated - The timestamp for the last time the project was updated.
  • user_ids - List of UUIDs of user accounts which belong to this project.
  • bgp_config - Optional BGP settings. Refer to Equinix Metal guide for BGP.

The bgp_config block contains:

  • asn - Autonomous System Number for local BGP deployment.
  • md5 - Password for BGP session in plaintext (not a checksum).
  • deployment_type - One of private, public.
  • status - Status of BGP configuration in the project.
  • max_prefix - The maximum number of route filters allowed per server.
Was this page helpful?