The project resource manages a HCP Project.
The user or service account that is running Terraform when creating a hcp_project
resource must have roles/admin
on the specified organization.
resource "hcp_project" "example" {
name = "example-project"
description = "My new project!"
}
name
(String) The project's name.description
(String) The project's descriptionresource_id
(String) The project's unique identifierresource_name
(String) The project's resource name in format "project/Import is supported using the following syntax:
# Project can be imported by specifying the project id
terraform import hcp_project.example 840e3701-55b6-4f86-8c17-b1fe397303c5