Skip to content

Commit 9f8e550

Browse files
committed
Add sensitive flag for webhook secret outputs
1 parent 179b846 commit 9f8e550

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

examples/github-complete/outputs.tf

+1
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ output "github_webhook_urls" {
2828
output "github_webhook_secret" {
2929
description = "Github webhook secret"
3030
value = module.github_repository_webhook.repository_webhook_secret
31+
sensitive = true
3132
}

examples/github-repository-webhook/outputs.tf

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ output "github_webhook_urls" {
66
output "github_webhook_secret" {
77
description = "Github webhook secret"
88
value = module.github_repository_webhook.repository_webhook_secret
9+
sensitive = true
910
}

examples/gitlab-repository-webhook/outputs.tf

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ output "gitlab_webhook_urls" {
66
output "gitlab_webhook_secret" {
77
description = "Gitlab webhook secret"
88
value = module.gitlab_repository_webhook.repository_webhook_secret
9+
sensitive = true
910
}

modules/github-repository-webhook/outputs.tf

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ output "repository_webhook_urls" {
66
output "repository_webhook_secret" {
77
description = "Webhook secret"
88
value = var.webhook_secret
9+
sensitive = true
910
}

modules/gitlab-repository-webhook/outputs.tf

+1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ output "repository_webhook_urls" {
66
output "repository_webhook_secret" {
77
description = "Webhook secret"
88
value = var.webhook_secret
9+
sensitive = true
910
}

outputs.tf

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ output "atlantis_allowed_repo_names" {
1717
output "webhook_secret" {
1818
description = "Webhook secret"
1919
value = element(concat(random_id.webhook.*.hex, [""]), 0)
20+
sensitive = true
2021
}
2122

2223
# ECS

0 commit comments

Comments
 (0)