# module to allow AWS secrets access

## Requirements

No requirements.

## Providers

| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | n/a |
| <a name="provider_google"></a> [google](#provider\_google) | n/a |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [aws_secretsmanager_secret.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret) | resource |
| [aws_secretsmanager_secret_version.this](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/secretsmanager_secret_version) | resource |
| [google_project_iam_member.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project_iam_member) | resource |
| [google_service_account.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/service_account) | resource |
| [google_service_account_key.this](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/service_account_key) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_aws_kms_id"></a> [aws\_kms\_id](#input\_aws\_kms\_id) | AWS KMS key id or alias. | `string` | n/a | yes |
| <a name="input_aws_secret_name"></a> [aws\_secret\_name](#input\_aws\_secret\_name) | Name of AWS secret where private key will be stored | `string` | n/a | yes |
| <a name="input_common_tags"></a> [common\_tags](#input\_common\_tags) | Map of tags | `map(string)` | `{}` | no |
| <a name="input_gcp_service_account_description"></a> [gcp\_service\_account\_description](#input\_gcp\_service\_account\_description) | GCP service account description | `string` | `""` | no |
| <a name="input_gcp_service_account_name"></a> [gcp\_service\_account\_name](#input\_gcp\_service\_account\_name) | GCP service account id. Also will be used as display name | `string` | n/a | yes |
| <a name="input_gcp_service_account_roles"></a> [gcp\_service\_account\_roles](#input\_gcp\_service\_account\_roles) | List of roles which will be assigned to service account | `list(string)` | `[]` | no |
| <a name="input_project_id"></a> [project\_id](#input\_project\_id) | (Required) The project id of the target project. This is not inferred from the provider. | `string` | n/a | yes |

## Outputs

| Name | Description |
|------|-------------|
| <a name="output_key"></a> [key](#output\_key) | n/a |
| <a name="output_members"></a> [members](#output\_members) | n/a |
| <a name="output_secret"></a> [secret](#output\_secret) | n/a |
| <a name="output_secret_version"></a> [secret\_version](#output\_secret\_version) | n/a |
| <a name="output_service"></a> [service](#output\_service) | n/a |
