Skip to content

Commit

Permalink
feat: output ID of the Binary Authorization Container Analysis note
Browse files Browse the repository at this point in the history
With hashicorp/terraform-provider-google#7745 soon to be added, users
will now be able to complete the full Binary Authorization multi-project
flow via Terraform.
  • Loading branch information
mmalecki committed Jun 5, 2023
1 parent 2fe1715 commit 6f742fe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/binary-authorization/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module "quality-attestor" {
|------|-------------|
| attestor | Name of the built attestor |
| key | Name of the Key created for the attestor |
| note\_id | ID of the created Container Analysis note |

<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->

Expand Down
5 changes: 5 additions & 0 deletions modules/binary-authorization/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,8 @@ output "attestor" {
value = google_binary_authorization_attestor.attestor.name
description = "Name of the built attestor"
}

output "note_id" {
value = google_container_analysis_note.build-note.id
description = "ID of the created Container Analysis note"
}

0 comments on commit 6f742fe

Please sign in to comment.