Component ยท Shared or other
Terraform module tags vX.Y.Z
CHOREO CLOUD Release artifact Choreo Cloud service
What it is
A Terraform module tag, such as v2.39.19, is a version of the shared Terraform code in wso2cloud-deployment. Terraform is the tool that creates cloud infrastructure from code. Module tags are cut from main. Each deployment layer on an environment branch pins one tag in a file called base.version.
It is like a software version number on a power tool's firmware. Each machine on the floor can be upgraded on its own day.
Why it exists
Infrastructure changes are risky. A pinned tag per layer lets each environment upgrade on its own, so dev can try a module version before stage and prod take it.
How it works
- A pull request to main changes a module under terraform/modules. It is checked with terraform fmt, TFLint and Trivy.
- After merge, a person cuts a tag vX.Y.Z from main.
- A pull request on each environment branch bumps base.version for the layer that should use it, from dev toward stage and prod.
- terraform-apply.sh downloads the pinned tag and applies the layer. Applies are always manual. Nothing in CI runs terraform apply.
- Layers differ. For example, on one environment cloud-infra and oc-setup-cp can pin different tags.
Key facts
- Tag format
- vX.Y.Z
- Range
- v2.28.8 (August 2026) to v2.39.19 (November 2026)
- Pinned in
- base.version of each layer
- Apply command
- ./terraform-apply.sh --layer <layer>
- Applied by
- a person, not CI
- Namespace
- WD
Used by (1)
- read by terraform-apply.sh layer apply (manual) base.version pins the module tag per layergit tag checkout