Terraform Modules¶
Reference documentation for Forge's Terraform modules, generated from the README.md in each module's source directory under src/terraform/.
| Module | Description |
|---|---|
| saif-api-service | This is a module for deploying an API to an App Service Plan and add that API to an API Management Service. |
| saif-application-permissions | This Terraform module manages permissions and roles for an existing Azure Entra ID (Azure Active Directory) application. It is designed to work with applications named using the pattern {project-id}-{environment-short-name}. |
| saif-business-roles-corp | |
| saif-business-roles-external | |
| saif-event-service | |
| saif-event-subscriber-service | |
| saif-openapi | |
| saif-staticsite-service | This module is for deploying resources that are owned by a Team |
| saif-utilities | This repository provides reusable Terraform utility modules for Azure infrastructure with standardized naming and validation patterns. |
| saif-web-service | This module deploys a frontend web application to Azure App Service. |
| saif-resources | Composable Terraform resource modules for Forge service infrastructure. |
Registries¶
Each release publishes these modules to the HCP Terraform private registry (app.terraform.io/SAIFCorp/<name>/<system>) and to the Pulumi Cloud private registry (tf.pulumi.com/saif-corp/<name>/<system>) with the same version. The <name>/<system> pair is the same in both registries, for example app.terraform.io/SAIFCorp/resources/saif is tf.pulumi.com/saif-corp/resources/saif. Deprecated aliases are published to HCP Terraform only.
Terraform and OpenTofu authenticate to tf.pulumi.com with a Pulumi access token in the TF_TOKEN_tf_pulumi_com environment variable. Converted Pulumi packages need Pulumi CLI 3.248.0 or newer. Forge modules that call other Forge modules use tf.pulumi.com sources for those nested calls, so any workspace or pipeline that installs them, including from HCP Terraform, also needs that token.