1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-12 01:19:39 +00:00
terraform-playground/image-workflow/iac/outputs.tf
Jason Hall 201548b75a
also set up Chainguard puller identity
Signed-off-by: Jason Hall <jason@chainguard.dev>
2023-06-23 09:19:09 -04:00

13 lines
512 B
HCL

output "url" {
value = google_cloud_run_service.image-workflow.status[0].url
}
output "secret-command" {
description = "gcloud secrets command to upload the github personal access token."
value = format("echo -n YOUR GITHUB PAT | gcloud --project %s secrets versions add %s --data-file=-", var.project_id, google_secret_manager_secret.gh-pat.secret_id)
}
output "identity" {
description = "The identity that can be assumed by the GitHub workflow."
value = chainguard_identity.puller.id
}