https://github.com/replicatedhq/gcp-event-handler-terraform-module
https://github.com/replicatedhq/gcp-event-handler-terraform-module
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/replicatedhq/gcp-event-handler-terraform-module
- Owner: replicatedhq
- Created: 2022-09-21T21:08:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T23:25:47.000Z (over 1 year ago)
- Last Synced: 2025-03-23T03:33:13.852Z (3 months ago)
- Language: HCL
- Size: 34.2 KB
- Stars: 0
- Watchers: 7
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.3.7 |
| [archive](#requirement\_archive) | ~> 2.2.0 |
| [google](#requirement\_google) | ~> 4.47.0 |
| [google-beta](#requirement\_google-beta) | ~> 4.51.0 |
| [null](#requirement\_null) | ~> 3.1.1 |## Providers
| Name | Version |
|------|---------|
| [archive](#provider\_archive) | ~> 2.2.0 |
| [google](#provider\_google) | ~> 4.47.0 |
| [null](#provider\_null) | ~> 3.1.1 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [google_cloudfunctions2_function.handler_function](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/cloudfunctions2_function) | resource |
| [google_project_iam_member.svc_account_role_bind](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/project_iam_member) | resource |
| [google_pubsub_topic.event_topic](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/pubsub_topic) | resource |
| [google_service_account.svc_account](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/service_account) | resource |
| [google_storage_bucket.handler_storage_bucket](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket) | resource |
| [google_storage_bucket_object.handler_object](https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/storage_bucket_object) | resource |
| [null_resource.trigger](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource |
| [archive_file.handler_function_zip](https://registry.terraform.io/providers/hashicorp/archive/latest/docs/data-sources/file) | data source |
| [google_project.project](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/project) | data source |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [function\_location](#input\_function\_location) | Location for the cloudfunctions2 function | `string` | n/a | yes |
| [handler\_entrypoint](#input\_handler\_entrypoint) | entrypoint for the handler function | `string` | n/a | yes |
| [handler\_path](#input\_handler\_path) | Path to script that will be stored in a storage bucket and deployed to Cloud Functions | `string` | n/a | yes |
| [handler\_runtime](#input\_handler\_runtime) | Runtime used in handler function | `string` | n/a | yes |
| [handler\_secrets](#input\_handler\_secrets) | List of secrets from gcp secrets manager to include in the cloudfunction function | `list(any)` | `null` | no |
| [kms\_key\_name](#input\_kms\_key\_name) | The name of the customer provided KMS key | `string` | `""` | no |
| [name](#input\_name) | Name of the event handler application | `string` | n/a | yes |
| [owner](#input\_owner) | Owner of the event handler resources | `string` | n/a | yes |
| [storage\_bucket\_access\_logs\_bucket](#input\_storage\_bucket\_access\_logs\_bucket) | Name of the storage bucket to store storage bucket access logs in | `string` | `""` | no |## Outputs
No outputs.