Improve this page

gke-service-accountBack to Google Cloud Platform index <–

gke-service-account

under review

gke-service-account

Template Locations

module "gke_service_account" {
  source         = "./modules/gke-service-account"
  cluster_create = var.cluster_creation

  name           = var.cluster_service_account_name
  project        = var.project
  description    = var.cluster_service_account_description
}

Requirements

No requirements.

Providers

Name Version
google n/a

Modules

No modules.

Resources

Name Type
google_project_iam_member.service_account-roles resource
google_service_account.service_account resource

Inputs

Name Description Type Default Required
cluster_create cluster creation string true no
description The description of the custom service account. string "" no
name The name of the custom service account. This parameter is limited to a maximum of 28 characters. string n/a yes
project The name of the GCP Project where all resources will be launched. string n/a yes
service_account_roles Additional roles to be added to the service account. list(string) [] no

Outputs

| Name | Description | |——|————-| | email | The email address of the custom service account. |