Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move PubSub to infrastructure as code #104

Merged
merged 6 commits into from
Jan 14, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Replace PubSub subscription urls with the one for the service
  • Loading branch information
gchristov committed Jan 14, 2024
commit 7e5b9e0b4175977cd0abe40363840b2fefe26863
9 changes: 3 additions & 6 deletions pulumi/Pulumi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,7 @@ resources:
messageRetentionDuration: 600s
name: preload_search_subscription
pushConfig:
# TODO: Un-hardcode the URL
pushEndpoint: https://service-app-xk523rsata-ew.a.run.app/api/pubsub/search
pushEndpoint: ${app-service.uri}/api/pubsub/search
retryPolicy:
maximumBackoff: 600s
minimumBackoff: 10s
Expand Down Expand Up @@ -288,8 +287,7 @@ resources:
messageRetentionDuration: 600s
name: slack_interactivity_subscription
pushConfig:
# TODO: Un-hardcode the URL
pushEndpoint: https://service-app-xk523rsata-ew.a.run.app/api/pubsub/slack/interactivity
pushEndpoint: ${app-service.uri}/api/pubsub/slack/interactivity
retryPolicy:
maximumBackoff: 600s
minimumBackoff: 10s
Expand Down Expand Up @@ -342,8 +340,7 @@ resources:
messageRetentionDuration: 600s
name: slack_slash_command_subscription
pushConfig:
# TODO: Un-hardcode the URL
pushEndpoint: https://service-app-xk523rsata-ew.a.run.app/api/pubsub/slack/slash
pushEndpoint: ${app-service.uri}/api/pubsub/slack/slash
retryPolicy:
maximumBackoff: 600s
minimumBackoff: 10s
Expand Down