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"
}Paid module — needs a purchase (or a subscription that covers it) plus a registry token from /account/tokens. Full setup: registry docs.
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 Free module. This one is Premium, so its contract unlocks when you buy it.
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 unlock after purchase
The complete copy-paste usage, the full input/output reference, and operational notes ship with your licence - shown here and bundled in the download.
- Usage
- Inputs
- Outputs
- Notes
Related modules
Azure Functions App
Function app (Flex Consumption or Premium) with storage, Application Insights, managed identity and VNet integration.
Cloud Run Function (gen2)
Event-driven or HTTP gen2 function with source upload, dedicated runtime SA and Eventarc trigger wiring.
Cloudflare Workers Platform
Worker with KV/R2/D1 bindings, routes, custom domain, and secrets - full edge app scaffold.
Lambda Function (Packaged & Wired)
Lambda with execution role, log group, triggers, aliases, and zip/container packaging handled.
Step Functions State Machine
A Step Functions state machine (STANDARD or EXPRESS) with a least-privilege execution role, a managed CloudWatch log group, X-Ray tracing, and encryption at rest - working out of the box from a single name.