mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-21 14:58:12 +00:00
add driftless example
Signed-off-by: Jason Hall <jason@chainguard.dev>
This commit is contained in:
parent
c09bdc56ad
commit
9f1f8c558f
13 changed files with 1177 additions and 0 deletions
14
driftlessaf/outputs.tf
Normal file
14
driftlessaf/outputs.tf
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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=-"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue