How hmcts/launchdarkly-terraform works
This repository defines Terraform-managed LaunchDarkly projects and access roles. The documented workflow is to add project and Azure AD group values to terraform.tfvars, then use the Terraform configuration to manage the LaunchDarkly setup. Projects can be split into admin and member access, with member access restricted on protected environments (production by default). The tree also contains offboarding pipeline assets, but their runtime behavior is not documented here, so they are not mapped as product components.
Main entry points: terraform.tfvars Project settings · main.tf Root configuration · roles.tf Access roles · projects.tf Project resources
Components 9
Configuration inputs
- Project settings
terraform.tfvars - Root variables
variables.tf
Terraform configuration
- Root configuration
main.tf - Project resources
modules/ld-scaffold/projects.tf - Access roles
modules/ld-scaffold/roles.tf - Module settings
modules/ld-scaffold/variables.tf
Other components
- Project maintainer
- LaunchDarkly
- Azure AD groups
Connections 6
- Project maintainer → Project settings: edits settings
- Project settings → Root configuration: configures projects
- Root configuration → LaunchDarkly: manages projects
- Project resources → LaunchDarkly: defines projects
- Access roles → LaunchDarkly: defines access
- Azure AD groups → Access roles: provides group identities