diff --git a/modules/binary-authorization/README.md b/modules/binary-authorization/README.md index c1648a0f54..87396efdd0 100644 --- a/modules/binary-authorization/README.md +++ b/modules/binary-authorization/README.md @@ -46,7 +46,9 @@ module "quality-attestor" { | Name | Description | |------|-------------| | attestor | Name of the built attestor | +| attestor\_id | ID of the built attestor | | key | Name of the Key created for the attestor | +| note\_id | ID of the created Container Analysis note | diff --git a/modules/binary-authorization/outputs.tf b/modules/binary-authorization/outputs.tf index 95d3324f5c..bfaae9c740 100644 --- a/modules/binary-authorization/outputs.tf +++ b/modules/binary-authorization/outputs.tf @@ -23,3 +23,13 @@ output "attestor" { value = google_binary_authorization_attestor.attestor.name description = "Name of the built attestor" } + +output "attestor_id" { + value = google_binary_authorization_attestor.attestor.id + description = "ID of the built attestor" +} + +output "note_id" { + value = google_container_analysis_note.build-note.id + description = "ID of the created Container Analysis note" +}