Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

rename cloud build pubsub topic #452

Merged
merged 1 commit into from
May 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions terraform/modules/fourkeys-cloud-build-parser/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
This module creates the pubsub topic and parser for Cloud Build. The name of the pubsub topic is important!

Cloud Build is designed so that if a topic exists named `cloud-builds`, build events are automatically written to it. But that topic is not created by default, [it has to be deliberately created](https://cloud.google.com/build/docs/subscribe-build-notifications#receiving_build_notifications).


<!-- BEGIN_TF_DOCS -->
## Requirements

Expand Down
2 changes: 1 addition & 1 deletion terraform/modules/fourkeys-cloud-build-parser/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ resource "google_cloud_run_service" "cloudbuild_parser" {

resource "google_pubsub_topic" "cloudbuild" {
project = var.project_id
name = "cloudbuild"
name = "cloud-builds"
}

resource "google_pubsub_topic_iam_member" "service_account_editor" {
Expand Down