Module Dependency Graph
Follow the steps in the order shown below to apply Terraform safely and avoid dependency issues.
Each module references outputs from upstream modules. The diagram below shows the dependency order; ensure that the modules are deployed in the order shown. Deploying in the incorrect order will result in missing references or Terraform errors.
Note
module.oci-logscale-storage feeds into module.pre-install because the
storage module creates the Object Storage bucket and S3-compatible credentials,
which the pre-install module needs to create the storage encryption Kubernetes secret.
When both modules are included in the same targeted apply (-target), Terraform resolves this
dependency automatically.
![]() |
Important
Steps involving modules in Layers 4-7 require an active bastion tunnel and kubectl access to the OKE cluster.
The module.logscale module contains kubernetes_manifest resources
that require the Kubernetes API to be reachable at plan
time, and not just apply time.
