Skip to content

Commit 667594b

Browse files
authored
Give possible values for memory_mb (#377)
I have to look this up every time I use this action. I think it's helpful to list the possible values here?
1 parent 68ca477 commit 667594b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757

5858
- `entry_point`: (Optional) Name of a function (as defined in source code) that will be executed. Defaults to the resource name suffix, if not specified.
5959

60-
- `memory_mb`: (Optional) The amount of memory in MB available for a function. Defaults to '256' (256 MB). The value must be the number of megabytes _without_ the unit suffix.
60+
- `memory_mb`: (Optional) The amount of memory in MB available for a function. Defaults to '256' (256 MB). The value must be the number of megabytes _without_ the unit suffix. Possible values documented [here][memory].
6161

6262
- `region`: (Optional) [Region](https://cloud.google.com/functions/docs/locations) in which the function should be deployed. Defaults to `us-central1`.
6363

@@ -268,6 +268,7 @@ Credentials.
268268

269269
[cloud-functions]: https://cloud.google.com/functions
270270
[runtimes]: https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--runtime
271+
[memory]: https://cloud.google.com/sdk/gcloud/reference/functions/deploy#--memory
271272
[sm]: https://cloud.google.com/secret-manager
272273
[wif]: https://cloud.google.com/iam/docs/workload-identity-federation
273274
[sa]: https://cloud.google.com/iam/docs/creating-managing-service-accounts

0 commit comments

Comments
 (0)