Skip to content

Commit

Permalink
feat: add apis related outputs to main module (#470)
Browse files Browse the repository at this point in the history
these were added to core_project_factory but not re-exported by top level module
  • Loading branch information
adrian-gierakowski authored Oct 8, 2020
1 parent e223f77 commit abc507f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
15 changes: 15 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit abc507f

Please sign in to comment.