Skip to content

Commit

Permalink
fix: Make slack webhook url optional
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe committed Oct 7, 2024
1 parent ba72973 commit 3c6dc3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bootstrap/rpc/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ variable "stripe_api_key" {
}

variable "slack_webhook_url" {
type = string
type = string
default = null
}

variable "kafka_topic" {
Expand Down
2 changes: 1 addition & 1 deletion bootstrap/rpc/rpc.toml.tftpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ db_path="${db_path}"
topic = "${topic}"
secret = "${secret}"
crds_path = "/fabric/crds"
slack_webhook_url = "${slack_webhook_url}"
%{ if slack_webhook_url != null }slack_webhook_url = "${slack_webhook_url}"%{ endif }

[auth]
url = "https://txpipe.us.auth0.com"
Expand Down

0 comments on commit 3c6dc3b

Please sign in to comment.