From abc507fdd0735ee655c350ce90c58d44816c5779 Mon Sep 17 00:00:00 2001 From: Adrian Date: Thu, 8 Oct 2020 21:22:10 +0100 Subject: [PATCH] feat: add apis related outputs to main module (#470) these were added to core_project_factory but not re-exported by top level module --- README.md | 3 +++ outputs.tf | 15 +++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/README.md b/README.md index 9c4d2500b..7f7e23ff0 100644 --- a/README.md +++ b/README.md @@ -153,8 +153,11 @@ determining that location is as follows: | Name | Description | |------|-------------| +| api\_s\_account | API service account email | +| api\_s\_account\_fmt | API service account email formatted for terraform use | | budget\_name | The name of the budget if created | | domain | The organization's domain | +| enabled\_apis | Enabled APIs in the project | | group\_email | The email of the G Suite group with group_name | | project\_bucket\_self\_link | Project's bucket selfLink | | project\_bucket\_url | Project's bucket url | diff --git a/outputs.tf b/outputs.tf index bbdc5b5e2..d41a2932d 100644 --- a/outputs.tf +++ b/outputs.tf @@ -71,6 +71,21 @@ output "project_bucket_url" { description = "Project's bucket url" } +output "api_s_account" { + value = module.project-factory.api_s_account + description = "API service account email" +} + +output "api_s_account_fmt" { + value = module.project-factory.api_s_account_fmt + description = "API service account email formatted for terraform use" +} + +output "enabled_apis" { + description = "Enabled APIs in the project" + value = module.project-factory.enabled_apis +} + output "budget_name" { value = module.budget.name description = "The name of the budget if created"