terraform-provider-stackitp.../docs/data-sources/service_account.md
2025-05-07 11:34:30 +02:00

33 lines
814 B
Markdown

---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "stackit_service_account Data Source - stackit"
subcategory: ""
description: |-
Service account data source schema.
---
# stackit_service_account (Data Source)
Service account data source schema.
## Example Usage
```terraform
data "stackit_service_account" "sa" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
email = "sa01-8565oq1@sa.stackit.cloud"
}
```
<!-- schema generated by tfplugindocs -->
## Schema
### Required
- `email` (String) Email of the service account.
- `project_id` (String) STACKIT project ID to which the service account is associated.
### Read-Only
- `id` (String) Terraform's internal resource ID, structured as "`project_id`,`email`".
- `name` (String) Name of the service account.