You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+
# Please note that this file was generated from [terraform-google-module-template](https://github.com/terraform-google-modules/terraform-google-module-template).
16
+
# Please make sure to contribute relevant changes upstream!
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,40 +33,40 @@ Then perform the following commands on the root folder:
33
33
-`terraform apply` to apply the infrastructure build
34
34
-`terraform destroy` to destroy the built infrastructure
35
35
36
-
[^]: (autogen_docs_start)
37
-
36
+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
38
37
## Inputs
39
38
40
39
| Name | Description | Type | Default | Required |
41
40
|------|-------------|:----:|:-----:|:-----:|
42
41
| bucket\_name | The name to apply to the bucket. Will default to a string of <project-id>-scheduled-function-XXXX> with XXXX being random characters. | string |`""`| no |
43
-
| function\_available\_memory\_mb | The amount of memory in megabytes allotted for the function to use. |string|`"256"`| no |
42
+
| function\_available\_memory\_mb | The amount of memory in megabytes allotted for the function to use. |number|`"256"`| no |
44
43
| function\_description | The description of the function. | string |`"Processes log export events provided through a Pub/Sub topic subscription."`| no |
45
44
| function\_entry\_point | The name of a method in the function source which will be invoked when the function is executed. | string | n/a | yes |
46
-
| function\_environment\_variables | A set of key/value environment variable pairs to assign to the function. | map |`<map>`| no |
47
-
| function\_event\_trigger\_failure\_policy\_retry | A toggle to determine if the function should be retried on failure. |string|`"false"`| no |
48
-
| function\_labels | A set of key/value label pairs to assign to the function. | map |`<map>`| no |
45
+
| function\_environment\_variables | A set of key/value environment variable pairs to assign to the function. | map(string)|`<map>`| no |
46
+
| function\_event\_trigger\_failure\_policy\_retry | A toggle to determine if the function should be retried on failure. |bool|`"false"`| no |
47
+
| function\_labels | A set of key/value label pairs to assign to the function. | map(string)|`<map>`| no |
49
48
| function\_name | The name to apply to the function | string | n/a | yes |
50
49
| function\_runtime | The runtime in which the function will be executed. | string |`"nodejs6"`| no |
51
-
| function\_source\_archive\_bucket\_labels | A set of key/value label pairs to assign to the function source archive bucket. | map |`<map>`| no |
50
+
| function\_service\_account\_email | The service account to run the function as. | string |`""`| no |
51
+
| function\_source\_archive\_bucket\_labels | A set of key/value label pairs to assign to the function source archive bucket. | map(string) |`<map>`| no |
52
52
| function\_source\_directory | The contents of this directory will be archived and used as the function source. | string | n/a | yes |
53
-
| function\_timeout\_s | The amount of time in seconds allotted for the execution of the function. |string|`"60"`| no |
53
+
| function\_timeout\_s | The amount of time in seconds allotted for the execution of the function. |number|`"60"`| no |
54
54
| job\_description | Addition text to describet the job | string |`""`| no |
55
55
| job\_name | The name of the scheduled job to run | string | n/a | yes |
56
56
| job\_schedule | The job frequency, in cron syntax | string |`"*/2 * * * *"`| no |
57
57
| message\_data | The data to send in the topic message. | string |`"dGVzdA=="`| no |
58
-
| project\_id | The ID of the project where this VPC will be created | string | n/a | yes |
58
+
| project\_id | The ID of the project where the resources will be created | string | n/a | yes |
59
59
| region | The region in which resources will be applied. | string | n/a | yes |
60
+
| time\_zone | The timezone to use in scheduler | string |`"Etc/UTC"`| no |
60
61
| topic\_name | Name of pubsub topic connecting the scheduled job and the function | string |`"test-topic"`| no |
61
-
| time\_zone | The timezone to be used in scheduler job | string |`"Etc/UTC"`| no |
Copy file name to clipboardExpand all lines: examples/logs-slack-alerts/README.md
+8-9Lines changed: 8 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,18 @@ A good example of exported logging in BigQuery can be found in [Stackdriver Logg
12
12
If not using the default App Engine default service account (PROJECT_ID@appspot.gserviceaccount.com), which has the Editor role on the project, one can configure a service account for the cloud function which has the following IAM role - (roles/bigquery.dataViewer, roles/bigquery.jobUser). Additionally, the BigQuery API (https://bigquery.googleapis.com) needs to be enabled as well.
13
13
14
14
15
-
[^]: (autogen_docs_start)
16
-
15
+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
17
16
## Inputs
18
17
19
18
| Name | Description | Type | Default | Required |
20
19
|------|-------------|:----:|:-----:|:-----:|
20
+
| audit\_log\_table | BigQuery Table where logs are sent | string | n/a | yes |
21
+
| dataset\_name | BigQuery Dataset where logs are sent | string | n/a | yes |
0 commit comments