Skip to content

Commit

Permalink
Add sensitive flag for webhook secret outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
snovikov committed Sep 16, 2021
1 parent 179b846 commit 9f8e550
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/github-complete/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ output "github_webhook_urls" {
output "github_webhook_secret" {
description = "Github webhook secret"
value = module.github_repository_webhook.repository_webhook_secret
sensitive = true
}
1 change: 1 addition & 0 deletions examples/github-repository-webhook/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ output "github_webhook_urls" {
output "github_webhook_secret" {
description = "Github webhook secret"
value = module.github_repository_webhook.repository_webhook_secret
sensitive = true
}
1 change: 1 addition & 0 deletions examples/gitlab-repository-webhook/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ output "gitlab_webhook_urls" {
output "gitlab_webhook_secret" {
description = "Gitlab webhook secret"
value = module.gitlab_repository_webhook.repository_webhook_secret
sensitive = true
}
1 change: 1 addition & 0 deletions modules/github-repository-webhook/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ output "repository_webhook_urls" {
output "repository_webhook_secret" {
description = "Webhook secret"
value = var.webhook_secret
sensitive = true
}
1 change: 1 addition & 0 deletions modules/gitlab-repository-webhook/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ output "repository_webhook_urls" {
output "repository_webhook_secret" {
description = "Webhook secret"
value = var.webhook_secret
sensitive = true
}
1 change: 1 addition & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ output "atlantis_allowed_repo_names" {
output "webhook_secret" {
description = "Webhook secret"
value = element(concat(random_id.webhook.*.hex, [""]), 0)
sensitive = true
}

# ECS
Expand Down

0 comments on commit 9f8e550

Please sign in to comment.