Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.03 KB

File metadata and controls

40 lines (30 loc) · 1.03 KB
page_title stackit_service_account Resource - stackit
subcategory
description Service account resource schema.

stackit_service_account (Resource)

Service account resource schema.

Example Usage

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}"
}

Schema

Required

  • name (String) Name of the service account.
  • project_id (String) STACKIT project ID to which the service account is associated.

Read-Only

  • 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.