| page_title | stackit_service_account Resource - stackit |
|---|---|
| subcategory | |
| description | Service account resource schema. |
Service account resource schema.
resource "stackit_service_account" "sa" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
name = "sa01"
}
# Only use the import statement, if you want to import an existing service account
import {
to = stackit_service_account.import-example
id = "${var.project_id},${var.service_account_email}"
}name(String) Name of the service account.project_id(String) STACKIT project ID to which the service account is associated.
email(String) Email of the service account.id(String) Terraform's internal resource ID, structured as "project_id,email".service_account_id(String) The internal UUID of the service account.