IaC Bazaar
Oracle CloudStatic-verified

File Storage (NFS)

Elastic NFSv3 file system with mount target, export options, snapshots and NSG-scoped access.

terraformOracle Cloud#oci
oci-file-storageterraform v1.7

Verification

Static-verified

Passed: validated and lint-clean (provider-schema-validated for AWS/Azure/GCP; Terraform-language lint elsewhere).

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-file-storage-1.0.0.sigstore.json \
  https://www.iac-bazaar.com/api/artifacts/oci-file-storage/signature

# 3. Verify the tarball you downloaded
cosign verify-blob \
  --key cosign.pub \
  --bundle oci-file-storage-1.0.0.sigstore.json \
  oci-file-storage-1.0.0.tar.gz
# → Verified OK

# 4. (optional) confirm the checksum too
echo "54998be939d7a82594a47bf9c7a7190dbffbd673c28a684c015cecd4728f012c  oci-file-storage-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "file_storage" {
  source  = "www.iac-bazaar.com/iac-bazaar/oci-file-storage/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 Basic, so its contract unlocks when you buy it.

Documentation

oci-file-storage — File Storage (NFS)

Elastic NFSv3 file system on OCI File Storage: an encrypted-at-rest file system (optionally keyed by your own Vault key), a mount target that consumes one private IP in a subnet, an export that binds the file system into the mount target's export set with deny-leaning per-client options, and optional on-demand snapshots. Works with Terraform and OpenTofu (>= 1.6), OCI provider >= 8.0, < 9.0.

Status: static-validated, live-test pending. Ships under live-test quarantine — validated with tofu fmt, tofu validate, and tflint. Real apply → mount/verify → destroy against an OCI tenancy is pending a cloud sandbox. The mount target consumes a subnet IP and needs NFS ports (111, 2048-2050) open in its NSG to verify a mount, so it is gated until the live lane exists.

Secure / sane defaults

  • Private only. The mount target is placed on a subnet you choose and is never assigned a public address. NFSv3 has no transport encryption, so the documented posture is: private subnet + an NSG that allows only TCP/UDP 111 and TCP/UDP 2048-2050 from trusted client CIDRs.
  • Deny-by-default exports. With no export_options, the export grants no client access — you must add explicit rules. Each rule defaults to ROOT identity squash (remote root is remapped to nobody/65534) and require_privileged_source_port = true (clients must use a port < 1024).
  • Encryption at rest always on. Bring your own key via kms_key_id (Vault); null uses Oracle-managed keys (still encrypted).
  • Least-privilege auth. allowed_auth defaults to ["SYS"]; tighten to Kerberos (KRB5/KRB5I/KRB5P) where your fleet supports it.

Requirements

  • Terraform or OpenTofu >= 1.6
  • oracle/oci >= 8.0, < 9.0

License

Commercial — LicenseRef-IaCBazaar-Commercial. © IaC Bazaar. Original work (not derived from a third-party module).

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 (key)
  • Outputs
  • Notes

Related modules