IaC Bazaar
Oracle CloudPlan-validated

Functions Application

Serverless Fn application with functions, provisioned concurrency, invoke logging and Events-rule trigger wiring.

terraformOracle Cloud#oci

Compare Serverless Functions across clouds →

oci-functions-appterraform v1.7

Verification

Plan-validated

Passed: 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

Functional

  • Live test pending (no cloud run yet)

Last verified 2026-06-28 · how we verify

Verify this download

cosign · sha-256

Don'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 -c

Use it from the registry

terraform · opentofu
module "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 + checkov against the oracle/oci provider. 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_ids you 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 supply image_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: config maps are documented as non-secret; pass Vault secret OCIDs and resolve them at runtime, never raw credentials.
  • Auditable by default: a dedicated log group + SERVICE invoke 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

RequirementVersion
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