Add support for quotas to project module (#2210)

* add support for quotas to project module

* tfdoc

* better outputs

* Ensure keys in `quota_configs` are unique

* update fast tests

* Make quota E2E testable

* Remove quota project caveat

---------

Co-authored-by: Wiktor Niesiobędzki <wiktorn@google.com>
This commit is contained in:
Ludovico Magnocavallo
2024-04-10 19:03:04 +02:00
committed by GitHub
parent 215c5cec26
commit 9cace5272f
7 changed files with 140 additions and 9 deletions

View File

@@ -98,6 +98,22 @@ output "project_id" {
]
}
output "quota_configs" {
description = "Quota configurations."
value = {
for k, v in google_cloud_quotas_quota_preference.default :
k => {
granted = v.quota_config.0.granted_value
preferred = v.quota_config.0.preferred_value
}
}
}
output "quotas" {
description = "Quota resources."
value = google_cloud_quotas_quota_preference.default
}
output "service_accounts" {
description = "Product robot service accounts in project."
value = {