Skip to content

Commit

Permalink
Merge branch 'main' into fix/errHandlingTxParse
Browse files Browse the repository at this point in the history
  • Loading branch information
chapati23 authored Aug 5, 2024
2 parents 0927c95 + 348451c commit 9330c73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ A monorepo for our governance watchdog, a system that monitors Mento Governance

```sh
# You need the "Secret Manager Secret Accessor" IAM role for this command to succeed
echo "discord_webhook_url = \"$(gcloud secrets versions access latest --secret discord-webhook-url)\"" >> terraform.tfvars
echo "\ndiscord_webhook_url = \"$(gcloud secrets versions access latest --secret discord-webhook-url)\"" >> terraform.tfvars
```

1. Add the Telegram Bot Token and Chat ID to your local `terraform.tfvars`
Expand All @@ -134,14 +134,14 @@ A monorepo for our governance watchdog, a system that monitors Mento Governance
echo "\ntelegram_chat_id = \"$(terraform state show "google_cloudfunctions2_function.watchdog_notifications" | grep TELEGRAM_CHAT_ID | awk -F '= ' '{print $2}' | tr -d '"')\"" >> terraform.tfvars

# Get the bot token from secret manager (you need the "Secret Manager Secret Accessor" IAM role for this command to succeed)
echo "telegram_bot_token = \"$(gcloud secrets versions access latest --secret telegram-bot-token)\"" >> terraform.tfvars
echo "\ntelegram_bot_token = \"$(gcloud secrets versions access latest --secret telegram-bot-token)\"" >> terraform.tfvars
```

1. Add the secret auth token from Google Cloud Secret Manager to your local `terraform.tfvars`:

```sh
# You need the "Secret Manager Secret Accessor" IAM role for this command to succeed
echo "x_auth_token = \"$(gcloud secrets versions access latest --secret x-auth-token)\"" >> terraform.tfvars
echo "\nx_auth_token = \"$(gcloud secrets versions access latest --secret x-auth-token)\"" >> terraform.tfvars
```

1. [Get our QuickNode API key from the QuickNode dashboard](https://dashboard.quicknode.com/api-keys) and add it to your local `terraform.tfvars`:
Expand All @@ -153,7 +153,7 @@ A monorepo for our governance watchdog, a system that monitors Mento Governance

This is necessary for Terraform to be able to create & destroy QuickAlerts as part of `terraform apply`

1. Get the VictorOps Webhook URL to your local `terraform.tfvars`. You can get it by going to VictorOps and clicking `Integrations` > `Stackdriver` and copying the URL. The routing key can be founder under the `Settings` tab:
1. Get the VictorOps Webhook URL to your local `terraform.tfvars`. You can get it by going to [our VictorOps](https://portal.victorops.com/dash/mento-labs-gmbh#/advanced/stackdriver) and clicking `Integrations` > `Stackdriver` and copying the URL. The routing key can be founder under the [`Settings`](https://portal.victorops.com/dash/mento-labs-gmbh#/routekeys) tab:

```sh
# ./infra/terraform.tfvars
Expand Down
2 changes: 1 addition & 1 deletion infra/cloud_function.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ resource "google_cloudfunctions2_function" "watchdog_notifications" {
}

service_config {
available_memory = "256M"
available_memory = "512M"
service_account_email = module.bootstrap.terraform_sa_email
timeout_seconds = 60

Expand Down

0 comments on commit 9330c73

Please sign in to comment.