Skip to content

print full pubsub data package - #60

Merged
kyokukou merged 4 commits into
developfrom
build-out-new-sub-emails
Sep 28, 2026
Merged

kyokukou merged 4 commits into
developfrom
build-out-new-sub-emails

Conversation

@kyokukou

Copy link
Copy Markdown
Contributor

more functions implemented but not yet used, refactored some code to be shared

@github-actions

Copy link
Copy Markdown

Terraform plan · production

Plan: 1 to add, 0 to change, 0 to destroy.

Show full plan
data.google_project.this: Reading...
google_service_account.job: Refreshing state... [id=projects/arxiv-production/serviceAccounts/mod-notification-handler@arxiv-production.iam.gserviceaccount.com]
google_pubsub_topic.mod_notify: Refreshing state... [id=projects/arxiv-production/topics/mod-notify]
google_pubsub_subscription.mod_actions: Refreshing state... [id=projects/arxiv-production/subscriptions/mod-notification-handler]
google_project_iam_member.job["roles/secretmanager.secretAccessor"]: Refreshing state... [id=arxiv-production/roles/secretmanager.secretAccessor/serviceAccount:mod-notification-handler@arxiv-production.iam.gserviceaccount.com]
google_project_iam_member.job["roles/pubsub.subscriber"]: Refreshing state... [id=arxiv-production/roles/pubsub.subscriber/serviceAccount:mod-notification-handler@arxiv-production.iam.gserviceaccount.com]
google_project_iam_member.job["roles/cloudsql.client"]: Refreshing state... [id=arxiv-production/roles/cloudsql.client/serviceAccount:mod-notification-handler@arxiv-production.iam.gserviceaccount.com]
google_project_iam_member.job["roles/run.invoker"]: Refreshing state... [id=arxiv-production/roles/run.invoker/serviceAccount:mod-notification-handler@arxiv-production.iam.gserviceaccount.com]
google_cloud_run_v2_job.jobs["daily_update"]: Refreshing state... [id=projects/arxiv-production/locations/us-central1/jobs/mod-daily-digest]
google_cloud_run_v2_job.jobs["mod_actions"]: Refreshing state... [id=projects/arxiv-production/locations/us-central1/jobs/mod-notification-handler]
data.google_project.this: Read complete after 0s [id=projects/arxiv-production]
google_cloud_scheduler_job.jobs["mod_actions"]: Refreshing state... [id=projects/arxiv-production/locations/us-central1/jobs/mod-notification-handler-scheduler-trigger]
google_cloud_scheduler_job.jobs["daily_update"]: Refreshing state... [id=projects/arxiv-production/locations/us-central1/jobs/mod-daily-digest-scheduler-trigger]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # google_project_iam_member.job["roles/eventarc.eventReceiver"] will be created
  + resource "google_project_iam_member" "job" {
      + etag    = (known after apply)
      + id      = (known after apply)
      + member  = "serviceAccount:mod-notification-handler@arxiv-production.iam.gserviceaccount.com"
      + project = "arxiv-production"
      + role    = "roles/eventarc.eventReceiver"
    }

Plan: 1 to add, 0 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

@github-actions

Copy link
Copy Markdown

Terraform plan · development

Plan: 0 to add, 1 to change, 0 to destroy.

Show full plan
data.google_project.this: Reading...
google_service_account.job: Refreshing state... [id=projects/arxiv-development/serviceAccounts/mod-notification-handler@arxiv-development.iam.gserviceaccount.com]
google_pubsub_topic.mod_notify: Refreshing state... [id=projects/arxiv-development/topics/mod-notify]
google_project_iam_member.job["roles/secretmanager.secretAccessor"]: Refreshing state... [id=arxiv-development/roles/secretmanager.secretAccessor/serviceAccount:mod-notification-handler@arxiv-development.iam.gserviceaccount.com]
google_project_iam_member.job["roles/run.invoker"]: Refreshing state... [id=arxiv-development/roles/run.invoker/serviceAccount:mod-notification-handler@arxiv-development.iam.gserviceaccount.com]
google_project_iam_member.job["roles/eventarc.eventReceiver"]: Refreshing state... [id=arxiv-development/roles/eventarc.eventReceiver/serviceAccount:mod-notification-handler@arxiv-development.iam.gserviceaccount.com]
google_project_iam_member.job["roles/pubsub.subscriber"]: Refreshing state... [id=arxiv-development/roles/pubsub.subscriber/serviceAccount:mod-notification-handler@arxiv-development.iam.gserviceaccount.com]
google_project_iam_member.job["roles/cloudsql.client"]: Refreshing state... [id=arxiv-development/roles/cloudsql.client/serviceAccount:mod-notification-handler@arxiv-development.iam.gserviceaccount.com]
google_cloud_run_v2_job.jobs["daily_update"]: Refreshing state... [id=projects/arxiv-development/locations/us-central1/jobs/mod-daily-digest]
google_cloud_run_v2_job.jobs["mod_actions"]: Refreshing state... [id=projects/arxiv-development/locations/us-central1/jobs/mod-notification-handler]
google_cloud_run_v2_service.new_subs[0]: Refreshing state... [id=projects/arxiv-development/locations/us-central1/services/mod-notify-new-submission]
google_pubsub_subscription.mod_actions: Refreshing state... [id=projects/arxiv-development/subscriptions/mod-notification-handler]
data.google_project.this: Read complete after 1s [id=projects/arxiv-development]
google_service_account_iam_member.pubsub_token_creator[0]: Refreshing state... [id=projects/arxiv-development/serviceAccounts/mod-notification-handler@arxiv-development.iam.gserviceaccount.com/roles/iam.serviceAccountTokenCreator/serviceAccount:service-874717964009@gcp-sa-pubsub.iam.gserviceaccount.com]
google_eventarc_trigger.new_subs[0]: Refreshing state... [id=projects/arxiv-development/locations/us-central1/triggers/mod-notify-new-submission-trigger]
google_cloud_scheduler_job.jobs["daily_update"]: Refreshing state... [id=projects/arxiv-development/locations/us-central1/jobs/mod-daily-digest-scheduler-trigger]
google_cloud_scheduler_job.jobs["mod_actions"]: Refreshing state... [id=projects/arxiv-development/locations/us-central1/jobs/mod-notification-handler-scheduler-trigger]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # google_cloud_run_v2_service.new_subs[0] will be updated in-place
  ~ resource "google_cloud_run_v2_service" "new_subs" {
        id                      = "projects/arxiv-development/locations/us-central1/services/mod-notify-new-submission"
        name                    = "mod-notify-new-submission"
        # (36 unchanged attributes hidden)

      ~ template {
            # (11 unchanged attributes hidden)

          ~ containers {
                name             = null
                # (8 unchanged attributes hidden)

              - env {
                  - name  = "SEND_EMAILS" -> null
                  - value = "True" -> null
                }
              + env {
                  + name  = "SEND_EMAILS"
                  + value = "False"
                }

                # (13 unchanged blocks hidden)
            }

            # (2 unchanged blocks hidden)
        }

        # (2 unchanged blocks hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

@kyokukou
kyokukou requested a review from bdc34 September 28, 2026 15:37
@kyokukou
kyokukou merged commit 04ee3d4 into develop Sep 28, 2026
4 checks passed
@kyokukou
kyokukou deleted the build-out-new-sub-emails branch September 28, 2026 17:05

This branch was successfully deployed

2 active deployments
development — f6e60f6b Deployed Sep 28, 2026 by kyokukou via plan (development) #28
production — f6e60f6b Deployed Sep 28, 2026 by kyokukou via plan (production) #28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants