Add support for resource management tags and tag bindings (#552)

* organization module

* folder module

* project module

* fix project binding

* use id instead of name for references

* kms module

* compute-vm

* fix compute-vm
This commit is contained in:
Ludovico Magnocavallo
2022-02-20 10:14:18 +00:00
committed by GitHub
parent 2ceead40e3
commit 0b5ed8b7ef
19 changed files with 487 additions and 50 deletions

View File

@@ -53,13 +53,32 @@ output "organization_id" {
google_organization_iam_member.additive,
google_organization_iam_policy.authoritative,
google_organization_policy.boolean,
google_organization_policy.list
google_organization_policy.list,
google_tags_tag_key.default,
google_tags_tag_key_iam_binding.default,
google_tags_tag_value.default,
google_tags_tag_value_iam_binding.default,
]
}
output "sink_writer_identities" {
description = "Writer identities created for each sink."
value = {
for name, sink in google_logging_organization_sink.sink : name => sink.writer_identity
for name, sink in google_logging_organization_sink.sink :
name => sink.writer_identity
}
}
output "tag_keys" {
description = "Tag key resources."
value = {
for k, v in google_tags_tag_key.default : k => v
}
}
output "tag_values" {
description = "Tag value resources."
value = {
for k, v in google_tags_tag_value.default : k => v
}
}