mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-12 01:19:39 +00:00
13 lines
512 B
HCL
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
|
|
}
|