Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 2.8 KB

README.md

File metadata and controls

48 lines (35 loc) · 2.8 KB

Google Identity Access Management module

This is a Dynamic module in Terraform to create IAM resources. This module will be called from ../env/dev.tf modules file. This module creates a Services Account and IAM memebers and roles.

  • main.tf : contains all the resources, which will be created with terraform apply command.
  • variables.tf : contains all the variables required to create the resources.
  • outputs.tf : print output attributes of the resources.

Requirements

No requirements.

Providers

Name Version
google n/a

Modules

No modules.

Resources

Name Type
google_project_iam_member.service_account resource
google_project_iam_member.service_account_custom resource
google_project_service.project_services resource
google_service_account.service_account resource
google_service_account_key.service_account_key resource

Inputs

Name Description Type Default Required
name Name is the prefix to use for resources that needs to be created. string n/a yes
project_id The project in which to hold the components string n/a yes
project_services n/a list(string) [] no
region The region in which to create the VPC network string n/a yes
service_account_custom_iam_roles service account custom iam roles list(string) [] no
service_account_iam_roles service account custom iam roles list(string) n/a yes

Outputs

Name Description
service_account Service Account Email-id
service_account_key The service Account Key to configure Medusa backups to use GCS bucket