Oracle CloudPlan-validated

API Gateway & Deployment

Managed API gateway with route deployments, JWT/auth policies, rate limiting, CORS and custom-domain TLS.

terraformOracle Cloudoci

Compare API Gateway across clouds →

oci-api-gatewayvizier v1.2.0

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

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

# 4. (optional) confirm the checksum too
echo "997bea93d7664312ce4cf0af1617fee96ba0488a172110f8ac01c58307484090  oci-api-gateway-1.0.0.tar.gz" | sha256sum -c

Use it from the registry

terraform · opentofu
module "api_gateway" {
  source  = "www.iac-bazaar.com/iac-bazaar/oci-api-gateway/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 · attribution

Paste 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.

README.md, GitLab, Gitea
[![IaC Bazaar: plan-validated](https://www.iac-bazaar.com/api/artifacts/oci-api-gateway/badge)](https://www.iac-bazaar.com/catalog/oci-api-gateway?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

Terraform module 1.0.0, plan-validated on IaC Bazaar: [API Gateway & Deployment](https://www.iac-bazaar.com/catalog/oci-api-gateway?utm_source=syndication&utm_medium=readme&utm_campaign=artifact)

```hcl
module "api_gateway" {
  source  = "www.iac-bazaar.com/iac-bazaar/oci-api-gateway/oci"
  version = "1.0.0"
}
```

Preview:IaC Bazaar: plan-validated

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-api-gateway — API Gateway & Deployment

A managed OCI API Gateway with a single deployment that fans out to typed backends (HTTP/HTTPS upstreams, Oracle Functions, or stock/mock responses) and applies deployment-wide request policies: JWT or custom-function authentication (deny-by-default), CORS, rate limiting, mutual TLS, and an optional custom-domain TLS certificate. 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 → curl the deployment endpoint → destroy against an OCI tenancy is pending a cloud sandbox. Per-call gateway pricing is cheap, so this is a good early candidate once the live lane exists.

Secure / sane defaults

  • Private endpoint by default. endpoint_type = "PRIVATE" — the gateway is reachable only from the VCN / peered networks. Switch to PUBLIC only with a deny-by-default auth policy (and ideally an NSG pinning ingress to 443).
  • Deny-by-default authentication. The default authentication block is JWT-shaped with is_anonymous_access_allowed = false — unauthenticated callers are rejected. JWT auth requires issuers, audiences and a jwks_uri (the remote JWKS key source the provider mandates) so signatures are actually verified.
  • CORS off until you opt in. No CORS headers are emitted (same-origin only) unless you set cors; the module refuses the is_allow_credentials_enabled
    • "*" origin combination browsers reject.
  • Backend TLS verified. is_ssl_verify_disabled defaults to false for HTTP_BACKEND routes — the gateway validates upstream certificates.
  • Quiet logs by default. Access logs on; execution log at WARN (set to "" to disable, INFO only for debugging — it is verbose).
  • Certificate immutability handled. The custom-domain cert is created create_before_destroy so rotation never deadlocks on the attached gateway.

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

Related modules

Static validatedLive test pending

tencent-api-gateway

An API Gateway service with net_type INNER rather than OUTER, https rather than the http that stays plaintext to the gateway, and QPS ceilings required - without a limit one caller can spend the whole backend's capacity. auth_type NONE and CORS are both named per API, since either turns an endpoint into an open one.

View module
Live-tested

gcp-api-gateway

A serverless API Gateway fronting an OpenAPI 2.0 spec - API, immutable config and managed gateway - with a dedicated least-privilege backend service account and a built-in default spec.

View module
Live-tested

aws-apigateway-http

HTTP API with routes, Lambda/ALB integrations, custom domain, JWT authorizers, and access logs.

View module
Live-tested

aws-apigateway-rest

A REST API wired end to end - resource tree built from route paths, deny-by-default IAM authorization, MOCK/Lambda/HTTP integrations, deployment + stage with throttling and JSON access logs.

View module
Live-tested

azure-api-management

An API Management gateway tuned for the serverless Consumption tier - scale-to-zero, billed per call - with a system-assigned managed identity, TLS hardening, and HTTP/2 enabled.

View module
Static validatedLive test pending

huawei-api-gateway

A Huawei Cloud APIG dedicated instance, group, environment and published APIs. The provider defaults an API to no authentication; this module defaults to signed app requests and takes open or plaintext APIs one at a time. Every published API gets the required rate limit, the gateway stays off the internet unless asked, and the debug hostname stays off.

View module