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.
No requirements.
Name | Version |
---|---|
n/a |
No modules.
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 |
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 |
Name | Description |
---|---|
service_account | Service Account Email-id |
service_account_key | The service Account Key to configure Medusa backups to use GCS bucket |