@mikarinneoracle/oci-cdk-code-only-preview 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,6 +124,22 @@ export OCI_FUNCTION_HANDLER='func.handler'
|
|
|
124
124
|
npx ocdk deploy --auto-approve --code-only
|
|
125
125
|
```
|
|
126
126
|
|
|
127
|
+
#### Find the available code-only runtimes
|
|
128
|
+
|
|
129
|
+
The exact `OCI_CODE_ONLY_RUNTIME_NAME` values are enabled per tenancy and region during this Limited Availability preview. Query the Preview CLI instead of copying a runtime name from another environment:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
# List every runtime available to the active OCI profile
|
|
133
|
+
"$OCI_CLI_PATH" fn runtime list --all --output table
|
|
134
|
+
|
|
135
|
+
# Narrow the list by runtime-name prefix, for example Python, Node.js, or Java
|
|
136
|
+
"$OCI_CLI_PATH" fn runtime list --all --name-starts-with python --output table
|
|
137
|
+
"$OCI_CLI_PATH" fn runtime list --all --name-starts-with node --output table
|
|
138
|
+
"$OCI_CLI_PATH" fn runtime list --all --name-starts-with java --output table
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
OCI Functions supports Java, Python, Node.js, Go, Ruby, and C# FDKs in general; code-only availability is limited to the runtimes returned by the command above. See Oracle's [supported language versions](https://docs.oracle.com/en-us/iaas/Content/Functions/Tasks/languagessupportedbyfunctions.htm).
|
|
142
|
+
|
|
127
143
|
By default, the function name and Function App name both come from `func.yaml`'s `name`. Set these only to override that default or to use a differently named existing Function App:
|
|
128
144
|
|
|
129
145
|
```bash
|