Skip to content

Latest commit

 

History

History
 
 

service_account

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

GCP service account Terraform module

Terraform module which creates service account with all needed permissions for weka deployment resources.

Usage

module "service_account" {
    source  = "../../modules/service_account"
    project = "myProject"
}

Requirements

Name Version
terraform >=1.3.1
google >=6.21.0

Providers

Name Version
google >=6.21.0

Modules

No modules.

Resources

Name Type
google_project_iam_member.artifactregistry_sa_member_role resource
google_project_iam_member.network_project_sa_member_role resource
google_project_iam_member.object_iam_member resource
google_project_iam_member.sa_member_role resource
google_project_iam_member.storage_admin resource
google_project_iam_member.weka_tar_object_iam_member resource
google_service_account.sa resource

Inputs

Name Description Type Default Required
allow_artifactregistry_role Role to allow artifact registry bool false no
cluster_name Cluster prefix for all resources string n/a yes
network_project_id Network project id string "" no
prefix prefix for all resources string "weka" no
project_id project id string n/a yes
service_account_name service account name string "deployment" no
state_bucket_name Name of existing state bucket string "" no
tiering_obs_name Name of existing OBS bucket string "" no
weka_tar_bucket_name Name of weka tar bucket string "" no
weka_tar_project_id Project id of weka tar string "" no

Outputs

Name Description
service_account_email Service account email