2626is a tested reference of how to use the root module with the
2727[ event-project-log-entry submodule] [ event-project-log-entry-submodule ] .
2828
29- [ ^ ] : (autogen_docs_start)
30-
29+ <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
3130## Inputs
3231
3332| Name | Description | Type | Default | Required |
3433| ------| -------------| :----:| :-----:| :-----:|
35- | available\_ memory\_ mb | The amount of memory in megabytes allotted for the function to use. | string | ` "256" ` | no |
34+ | available\_ memory\_ mb | The amount of memory in megabytes allotted for the function to use. | number | ` "256" ` | no |
35+ | bucket\_ force\_ destroy | When deleting the GCS bucket containing the cloud function, delete all objects in the bucket first. | bool | ` "false" ` | no |
36+ | bucket\_ labels | A set of key/value label pairs to assign to the function source archive bucket. | map(string) | ` <map> ` | no |
37+ | bucket\_ name | The name to apply to the bucket. Will default to a string of the function name. | string | ` "" ` | no |
3638| description | The description of the function. | string | ` "Processes events." ` | no |
3739| entry\_ point | The name of a method in the function source which will be invoked when the function is executed. | string | n/a | yes |
38- | environment\_ variables | A set of key/value environment variable pairs to assign to the function. | map | ` <map> ` | no |
39- | event\_ trigger | A source that fires events in response to a condition in another service. | map | n/a | yes |
40- | labels | A set of key/value label pairs to assign to any lableable resources. | map | ` <map> ` | no |
40+ | environment\_ variables | A set of key/value environment variable pairs to assign to the function. | map(string) | ` <map> ` | no |
41+ | event\_ trigger | A source that fires events in response to a condition in another service. | map(string) | n/a | yes |
42+ | event\_ trigger\_ failure\_ policy\_ retry | A toggle to determine if the function should be retried on failure. | bool | ` "false" ` | no |
43+ | labels | A set of key/value label pairs to assign to the Cloud Function. | map(string) | ` <map> ` | no |
4144| name | The name to apply to any nameable resources. | string | n/a | yes |
4245| project\_ id | The ID of the project to which resources will be applied. | string | n/a | yes |
4346| region | The region in which resources will be applied. | string | n/a | yes |
44- | runtime | The runtime in which the function will be executed. | string | ` "nodejs6" ` | no |
47+ | runtime | The runtime in which the function will be executed. | string | n/a | yes |
48+ | service\_ account\_ email | The service account to run the function as. | string | ` "" ` | no |
4549| source\_ directory | The pathname of the directory which contains the function source code. | string | n/a | yes |
46- | timeout\_ s | The amount of time in seconds allotted for the execution of the function. | string | ` "60" ` | no |
50+ | timeout\_ s | The amount of time in seconds allotted for the execution of the function. | number | ` "60" ` | no |
4751
4852## Outputs
4953
5054| Name | Description |
5155| ------| -------------|
5256| name | The name of the function. |
5357
54- [ ^ ] : (autogen_docs_end)
58+ <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
5559
5660## Requirements
5761
@@ -63,11 +67,10 @@ order to invoke this module.
6367The following software dependencies must be installed on the system
6468from which this module will be invoked:
6569
66- - [ Terraform] [ terraform-site ] v0.12.Z
70+ - [ Terraform] [ terraform-site ] v0.12
6771- [ Terraform Provider for Archive] [ terraform-provider-archive-site ]
68- v1.2.Z
69- - [ Terraform Provider for Google Cloud Platform] [ terraform-provider-gcp-site ]
70- v2.5.Z
72+ v1.2
73+ - [ Terraform Provider for Google Cloud Platform] [ terraform-provider-gcp-site ] v2.5
7174
7275### IAM Roles
7376
@@ -87,3 +90,15 @@ following APIs enabled:
8790
8891The [ Project Factory module] [ project-factory-module-site ] can be used to
8992provision projects with specific APIs activated.
93+
94+ ## Contributing
95+
96+ Refer to the [ contribution guidelines] ( ./CONTRIBUTING.md ) for
97+ information on contributing to this module.
98+
99+ [ automatic-labelling-from-localhost-example ] : examples/automatic-labelling-from-localhost
100+ [ event-project-log-entry-submodule ] : modules/event-project-log-entry
101+ [ repository-function-submodule ] : modules/repository-function
102+ [ project-factory-module-site ] : https://github.com/terraform-google-modules/terraform-google-project-factory/
103+ [ terraform-provider-gcp-site ] : https://github.com/terraform-providers/terraform-provider-google/
104+ [ terraform-site ] : https://www.terraform.io/
0 commit comments