@mikarinneoracle/oci-cdk-code-only-preview 0.0.3 → 0.0.4
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 +4 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @mikarinneoracle/oci-cdk
|
|
1
|
+
# @mikarinneoracle/oci-cdk-code-only-preview
|
|
2
2
|
|
|
3
3
|
OCI Functions (Java, Python, Node.js), API Gateway, and related infrastructure via Terraform CDK. Run from your project root with `npx ocdk`.
|
|
4
4
|
|
|
@@ -7,7 +7,7 @@ Quick example (Python function + API Gateway):
|
|
|
7
7
|
```bash
|
|
8
8
|
mkdir my-python-function && cd my-python-function
|
|
9
9
|
fn init --runtime python
|
|
10
|
-
npm i --ignore-scripts @mikarinneoracle/oci-cdk
|
|
10
|
+
npm i --ignore-scripts @mikarinneoracle/oci-cdk-code-only-preview
|
|
11
11
|
export OCI_COMPARTMENT_ID='ocid1.compartment.oc1...gq'
|
|
12
12
|
|
|
13
13
|
# Deploy the function and API Gateway
|
|
@@ -141,7 +141,7 @@ Use the same flag or environment variable for deletion. OCDK deletes the CLI-man
|
|
|
141
141
|
npx ocdk destroy --code-only --auto-approve
|
|
142
142
|
```
|
|
143
143
|
|
|
144
|
-
Run from your project root (where your `func.yaml` / function code and `node_modules/@mikarinneoracle/oci-cdk` live):
|
|
144
|
+
Run from your project root (where your `func.yaml` / function code and `node_modules/@mikarinneoracle/oci-cdk-code-only-preview` live):
|
|
145
145
|
|
|
146
146
|
```bash
|
|
147
147
|
npx ocdk deploy
|
|
@@ -163,7 +163,7 @@ npx ocdk destroy
|
|
|
163
163
|
If you only need the utility temporarily, remove it after use:
|
|
164
164
|
|
|
165
165
|
```bash
|
|
166
|
-
npm uninstall --ignore-scripts @mikarinneoracle/oci-cdk
|
|
166
|
+
npm uninstall --ignore-scripts @mikarinneoracle/oci-cdk-code-only-preview
|
|
167
167
|
```
|
|
168
168
|
|
|
169
169
|
## IAM plan (API Gateway invoke + log tailing)
|