1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-14 10:25:30 +00:00
terraform-playground/driftlessaf/outputs.tf
Jason Hall 9f1f8c558f add driftless example
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-03 10:02:36 -05:00

14 lines
664 B
HCL

output "github_webhook_urls" {
description = "The URL to configure as the GitHub App webhook endpoint."
value = module.github-events.public-urls
}
output "secret_command" {
description = "Command to populate the GitHub App private key secret."
value = "gcloud secrets versions add ${google_secret_manager_secret.github_app_key.secret_id} --project=${var.project_id} --data-file=path/to/private-key.pem"
}
output "webhook_secret_command" {
description = "Command to populate the GitHub webhook secret."
value = "echo -n '<secret>' | gcloud secrets versions add driftlessaf-webhook-secret --project=${var.project_id} --data-file=-"
}