diff --git a/README.md b/README.md
index 867cad3..4049763 100644
--- a/README.md
+++ b/README.md
@@ -182,10 +182,10 @@ jobs:
- all_traffic_on_latest_revision
: _(Optional, default: `true`)_ If true, the latest function revision will be served all traffic.
-- available_cpu
: _(Optional)_ The number of available CPUs to set (e.g. 0.5, 2, 2000m). By default, a
+- cpu
: _(Optional)_ The number of available CPUs to set (e.g. 0.5, 2, 2000m). By default, a
new function's available CPUs is determined based on its memory value.
-- available_memory
: _(Optional)_ The amount of memory available for the function to use. Allowed values are
+- memory
: _(Optional)_ The amount of memory available for the function to use. Allowed values are
of the format: with allowed units of "k", "M", "G", "Ki",
"Mi", "Gi" (e.g 128M, 10Mb, 1024Gib).
diff --git a/action.yml b/action.yml
index 97ce42b..ca88b34 100644
--- a/action.yml
+++ b/action.yml
@@ -199,13 +199,13 @@ inputs:
default: true
required: false
- available_cpu:
+ cpu:
description: |-
The number of available CPUs to set (e.g. 0.5, 2, 2000m). By default, a
new function's available CPUs is determined based on its memory value.
required: false
- available_memory:
+ memory:
description: |-
The amount of memory available for the function to use. Allowed values are
of the format: with allowed units of "k", "M", "G", "Ki",
diff --git a/src/main.ts b/src/main.ts
index 5d6beec..a727631 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -63,7 +63,7 @@ async function run() {
getInput('all_traffic_on_latest_revision'),
true,
);
- const availableCpu = presence(getInput('available_cpu'));
+ const availableCpu = presence(getInput('cpu'));
const availableMemory = presence(getInput('memory')) || '256Mi';
const environmentVariables = parseKVString(getInput('environment_variables'));
const ingressSettings = toEnum(