Skip to content

Commit

Permalink
remove prefix from topic name for event cloud funtions
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemeredith committed Apr 17, 2024
1 parent 0d41ea7 commit 4ebc14e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stacks/gcp/GcpStack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ export default class GcpStack extends TerraformStack {
config.retryOnFailure === undefined
? "RETRY_POLICY_UNSPECIFIED"
: config.retryOnFailure
? "RETRY_POLICY_RETRY"
: "RETRY_POLICY_DO_NOT_RETRY";
? "RETRY_POLICY_RETRY"
: "RETRY_POLICY_DO_NOT_RETRY";

switch (config.type) {
case "queue":
Expand Down Expand Up @@ -340,7 +340,7 @@ export default class GcpStack extends TerraformStack {
eventTrigger: {
eventType: "google.cloud.pubsub.topic.v1.messagePublished",
retryPolicy,
pubsubTopic: `projects/${this.options.gcpOptions.project}/topics/scheduled-${config.topicName}`,
pubsubTopic: `projects/${this.options.gcpOptions.project}/topics/${config.topicName}`,
},
};

Expand Down

0 comments on commit 4ebc14e

Please sign in to comment.