in helpers/foundation-deployer/stages/data.go [259:277]
func GetBootstrapStepOutputs(t testing.TB, foundationPath string) BootstrapOutputs {
options := &terraform.Options{
TerraformDir: filepath.Join(foundationPath, "0-bootstrap"),
Logger: logger.Discard,
NoColor: true,
}
return BootstrapOutputs{
CICDProject: terraform.Output(t, options, "cloudbuild_project_id"),
RemoteStateBucket: terraform.Output(t, options, "gcs_bucket_tfstate"),
RemoteStateBucketProjects: terraform.Output(t, options, "projects_gcs_bucket_tfstate"),
DefaultRegion: terraform.OutputMap(t, options, "common_config")["default_region"],
NetworkSA: terraform.Output(t, options, "networks_step_terraform_service_account_email"),
ProjectsSA: terraform.Output(t, options, "projects_step_terraform_service_account_email"),
EnvsSA: terraform.Output(t, options, "environment_step_terraform_service_account_email"),
OrgSA: terraform.Output(t, options, "organization_step_terraform_service_account_email"),
BootstrapSA: terraform.Output(t, options, "bootstrap_step_terraform_service_account_email"),
RequiredGroups: terraform.OutputMap(t, options, "required_groups"),
}
}