Terraform provider reference / data sources / projects
fiberax_projects (Data Source)
Virtual Data Center projects of the account: active, suspended and the ones being set up, including those ordered in the client area; closed projects are not listed. Needs an account key (no project_id is needed for it); a project key answers account_key_required.
Projects come in the order of their ids, oldest first; labels of a project - alphabetically, without regard to letter case.
Example Usage
# Projects of the account, with an account key. Projects come by id, oldest first.
data "fiberax_projects" "customer" {
label = "customer-1042"
}
output "customer_project_ids" {
value = [for p in data.fiberax_projects.customer.projects : p.id]
}
Schema
Optional
label(String) Only projects that carry this label (letter case does not matter).
Read-Only
projects(Attributes List) The projects, by id. (see below for nested schema)
Nested Schema for projects
Read-Only:
created_at(String) When the project was created (RFC 3339).id(Number) ID of the project - the value forproject_idof a provider configuration.labels(List of String) Labels of the project, alphabetically without regard to letter case.name(String) Name of the project.status(String)Active,Suspended, orPendingwhile a new project is being set up.
Generated from the provider schema for version 0.11.0. How to install the provider: Terraform provider.