Functions Application
Serverless Fn application with functions, provisioned concurrency, invoke logging and Events-rule trigger wiring.
Verification
Plan-validatedPassed: module logic verified on a mocked plan - inputs, validation rules, conditional creation and outputs resolve (no real provider, no cloud).
Conformance
- Static validation (fmt · validate · tflint)
- Security scan clean (Checkov)
- Plan tests (mocked: validation rules · outputs)
Provenance
- SHA-256 checksum
- Cosign signature
Functional
- Live test pending (no cloud run yet)
Last verified 2026-06-28 · how we verify
Verify this download
cosign · sha-256Don't take our word for it. Every release is signed with cosign - check the bytes against our pinned public key before you trust them.
# 1. Our pinned public key - fetch once, trust out-of-band
curl -O https://www.iac-bazaar.com/cosign.pub
# 2. This module's Sigstore bundle
curl -o oci-functions-app-1.0.0.sigstore.json \
https://www.iac-bazaar.com/api/artifacts/oci-functions-app/signature
# 3. Verify the tarball you downloaded
cosign verify-blob \
--key cosign.pub \
--bundle oci-functions-app-1.0.0.sigstore.json \
oci-functions-app-1.0.0.tar.gz
# → Verified OK
# 4. (optional) confirm the checksum too
echo "48b93b20391fa914a69687019fca381b6d700a07e0f1722111d1883d4949c253 oci-functions-app-1.0.0.tar.gz" | sha256sum -cUse it from the registry
terraform · opentofumodule "functions_app" {
source = "www.iac-bazaar.com/iac-bazaar/oci-functions-app/oci"
version = "1.0.0"
}Needs a registry token from /account/tokens. The module itself is free; the account is what identifies you. Full setup: registry docs.
Cite it in your README
badge · attributionPaste this beside the module in the repository that uses it. The badge is rendered from this artifact's verification record, so it reads plan-validated because the record says so, and the link lands on this page.
[](https://www.iac-bazaar.com/catalog/oci-functions-app?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
Terraform module 1.0.0, plan-validated on IaC Bazaar: [Functions Application](https://www.iac-bazaar.com/catalog/oci-functions-app?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)
```hcl
module "functions_app" {
source = "www.iac-bazaar.com/iac-bazaar/oci-functions-app/oci"
version = "1.0.0"
}
```Preview:
Inputs & outputs
Create a free account to read this module's contract
The declared contract - every input name, type, default and description, plus every output - is shown to signed-in accounts, not to anonymous visitors.
A free account sees the contract of every module in the catalogue. There is no subscription and nothing to buy - the modules are free to download, and they run under Vizier.
Documentation
oci-functions-app
A serverless OCI Functions (Fn) application and the functions it hosts —
each backed by a pre-pushed OCIR container image, with optional provisioned
concurrency to kill cold starts, invoke logging wired into OCI Logging,
and Events-service rules so functions fire on cloud events. One module call
gives you an application running in private subnets, image-signature
verification ready to enforce, and per-invocation audit logs. Works with
Terraform and OpenTofu (>= 1.6), OCI provider >= 8.0, < 9.0.
Status: static-validated, live-test pending. Validated with
tofu validate+tflint+checkovagainst theoracle/ociprovider. Not yet applied against a live OCI tenancy — a live apply requires a container image pre-pushed to OCIR (the podman build/push lane is reusable), so it ships under live-test quarantine until a cloud sandbox exists.
Design & secure defaults
- Private networking: functions run only in the
subnet_idsyou supply — use private subnets so functions get no public IP; egress flows through a NAT/service gateway you control. - Deny-by-default isolation: prefer
network_security_group_ids(stateful NSGs) over wide subnet security lists for the function VNICs. - Supply-chain integrity: image signature verification is on by default
(
image_signature_verification = true). It only engages once you supplyimage_signing_kms_key_ids— a plan precondition stops you enabling it with no keys rather than silently doing nothing. - Immutable images: pin each function to an
image_digest(sha256:...) for reproducible, tamper-evident deploys. - No plaintext secrets:
configmaps are documented as non-secret; pass Vault secret OCIDs and resolve them at runtime, never raw credentials. - Auditable by default: a dedicated log group +
SERVICEinvoke log captures every invocation (90-day retention default) unless you opt out. - Cost-aware: provisioned concurrency defaults to
0(on-demand, free-tier friendly); warm instances are opt-in per function.
Requirements
| Requirement | Version |
|---|---|
| Terraform / OpenTofu | >= 1.6 |
oracle/oci | >= 8.0, < 9.0 |
License
Commercial — LicenseRef-IaCBazaar-Commercial. See the IaC Bazaar terms.
Usage code & full reference need an account
The complete copy-paste usage, the full input/output reference, and operational notes are free with an account - shown here and bundled in the download. Sign in and this section fills in.
- Usage
- Inputs
- Outputs
- Notes
Related modules
oci-container-instances
A container with no health check is restarted only when its process exits, so a deadlocked one stays; containers run as root unless the security context says otherwise; and a public IP on the instance is an internet-facing container with only an NSG in front. Every container gets a check that restarts it and runs non-root on a read-only filesystem; the instance stays private.
ibm-code-engine-function
A Code Engine function in a project created here, callable only from inside the project unless a public URL is accepted by name, with the compute resource token mounted so it obtains IAM tokens through a trusted profile and needs no API key, and CPU, memory, concurrency and execution time capped so a runaway caller cannot drive the bill.
alicloud-fc-function
A Function Compute 3.0 function running as the RAM role you name, with internet access off (on by name), in your VPC when a vpc_config is given, logging every invocation to a Log Service project and logstore (none by name), with code fetched from an OSS object you uploaded. Memory, CPU, disk, timeout and instance concurrency are inputs.
huawei-fgs-function
A FunctionGraph v2 function running as the IAM agency you name, in your VPC when a subnet is given, logging every invocation to the LTS group and stream you name, with plain environment variables in user_data and secrets in encrypted_user_data under your KMS key (which also encrypts the code), fetched from an OBS URL. A ceiling on instances is an input.
tencent-scf-function
A Serverless Cloud Function running as the CAM role you name, with public network access off (on by name), in your VPC when a subnet is given, logging every invocation to a CLS logset and topic (none by name), synchronous only, with code fetched from a COS object you uploaded. Memory and timeout are inputs.
scaleway-function
A Scaleway Serverless Function in its own namespace, private so an IAM token is needed to invoke it (public by name), plain HTTP redirected to HTTPS, secrets in the encrypted secret variables rather than the plain ones, idling at zero instances with a ceiling you chose, and the zip archive uploaded at apply with its hash so a changed archive redeploys.