From e49d0a57c3090d24a5bf39e80fd63af4ef93a10d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Petersen?= Date: Sun, 8 Dec 2024 12:15:36 +0100 Subject: [PATCH] Add telegram-transcription-bot --- repo_telegram-speech-bot.tf | 2 +- repo_telegram-transcription-bot.tf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 repo_telegram-transcription-bot.tf diff --git a/repo_telegram-speech-bot.tf b/repo_telegram-speech-bot.tf index aa3223a..3422e21 100644 --- a/repo_telegram-speech-bot.tf +++ b/repo_telegram-speech-bot.tf @@ -11,7 +11,7 @@ resource "google_service_account" "bob_bot" { display_name = "Bob Bot" } -resource "google_project_iam_member" "bob_publisher" { +resource "google_project_iam_member" "bob_policies" { for_each = toset([ "roles/cloudtranslate.user", "roles/datastore.user", diff --git a/repo_telegram-transcription-bot.tf b/repo_telegram-transcription-bot.tf new file mode 100644 index 0000000..201b80c --- /dev/null +++ b/repo_telegram-transcription-bot.tf @@ -0,0 +1,5 @@ +module "transcription_repo" { + source = "github.com/BlindfoldedSurgery/terraform-repo-module?ref=v7.4.0" + name = "telegram-transcription-bot" + description = " Voice message transcription for Telegram, based on Azure Cognitive Services" +}