3.6.2¶
Release Date: May 21, 2026
โจ New Features¶
Terraform Modules¶
Enable External and Corporate Auth Server Configurations ๐¶
Module: saif-api-service / saif-resources (api module)
Commit: c44e3859
Enables full support for external (Okta) and corporate (Entra ID) auth server discovery keys in the saif-api-service module. Previously, all App Configuration service-discovery keys for auth servers were created unconditionally โ which caused Terraform errors at plan time when the auth-server resources did not yet exist (because count was driven by resource outputs, which are unknown until apply).
This release introduces explicit opt-in boolean flags in service_discovery_config so that each auth server key is only created when the flag is true โ a value known at plan time. The companion Test-WorkspaceMigration.ps1 tooling script has also been enhanced to support full apply testing against TFC workspaces.
Key Features:
- โ
enable_external_auth_serverโ Controls creation ofext:authserverandext:authserveraudienceApp Configuration keys (default:false) - โ
enable_corp_auth_serverโ Controls creation ofcorp:authserverandcorp:authserveraudienceApp Configuration keys (default:false) - โ
Plan-time-known booleans โ Eliminates Terraform plan errors caused by resource-output-dependent
countexpressions - โ
Test-WorkspaceMigration.ps1enhancements โ Added-Applyand-auto-approveflags for running full applies against TFC workspaces; improved run selection logic to fall back to most-recent run when no applied run exists
Benefits:
- ๐ Eliminates "The
countargument depends on resource attributes that cannot be determined until apply" plan errors - ๐ Allows APIs to opt in to only the auth server integrations they require
- ๐งช Enables local module changes to be tested end-to-end against a real TFC workspace with a single command
Example:
module "saif-appservices" {
source = "app.terraform.io/SAIFCorp/saif-api-service/forge"
version = "~> 3.6.0"
# ...
service_discovery_config = {
enable_external_auth_server = true # creates ext:authserver + ext:authserveraudience keys
enable_corp_auth_server = true # creates corp:authserver + corp:authserveraudience keys
}
}
๐ Bug Fixes¶
Terraform Modules¶
Fix Missing ai_search_docs_index_name Output Gracefully ๐ง¶
Module: saif-resources (environment module)
Commit: 1db6420d
Fixes a Terraform error when the ai_search_docs_index_name output was referenced but the underlying resource did not exist in the environment. The outputs.tf in the environment module now handles the absence of this value without erroring, preventing plan failures for environments that do not have an AI Search docs index configured.
Changes:
- โ
outputs.tfโ Output value is now conditional; returnsnullwhen the AI Search docs index is not configured instead of causing a reference error
Benefits:
- ๐ง Prevents plan failures in environments without an AI Search docs index
- ๐ง Improves module robustness for partial environment configurations
๐ Breaking Changes¶
None in this release โ
๐ Additional Notes¶
- Total commits: 2
- Files changed: 5
- Contributors: Emmitt Johnson
Support¶
- ๐ง Teams Support Channel: Support