Skip to main content
Use data sources when you need to read org infrastructure that Terraform in this workspace does not manage — or to inspect what you just applied. Generated schema: data sources on the Terraform Registry.

fireweave_project

Looks up one project. Provide either id or slug. Exactly one of id or slug should be set. If you set id, the provider calls GET /v1/projects/{projectID}. If you set slug, it lists projects and matches the slug.

fireweave_projects

Lists every project owned by the organisation associated with the API key. No arguments. status is present when the list API returns it. It may be empty for list-shaped responses.

fireweave_environments

Lists deploy environments for a given project. The list is in promotion order as returned by the API.
The list endpoint can return partial objects. id may be empty when the API returns list-shape fields (slug, display_name, is_default) without envId. Use slug to identify a row in that case. A managed fireweave_environment resource still has a populated id from create or import.
There is no single-environment data source. Filter fireweave_environments.environments by slug or is_default.

Combined example

Next

Projects

Manage the project these data sources read.

Environments

Create stages instead of only listing them.
Last modified on September 11, 2026