Terraform Provider: data source for meshStack instance metadata
Florian Nowarre
As a platform engineer managing meshStack via Terraform, I want a data source that exposes metadata about the meshStack instance itself so that I can reference it in my automation.
Currently, the meshStack Terraform provider offers data sources for workspaces, projects, tenants, and other domain objects — but there is no way to query information about the meshStack instance as a whole.
Example usage:
data "meshstack_instance" "info" {}
This could expose attributes such as:
- API endpoint URL
- Panel URL
- meshStack version
- SSO / Identity Provider URLs
- Environment identifier (e.g. dev, staging, production)
Use cases:
- Configuring downstream resources that need to reference meshStack URLs (e.g. callback URLs, webhook targets)
- Conditional logic in Terraform based on which meshStack environment (dev vs. prod) the automation is running against
- Documenting or tagging resources with the meshStack instance they belong to
- Avoiding hardcoded URLs across Terraform configurations