Skip to content

Commit

Permalink
fix: Point CI to PRD (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalezzfelipe authored Sep 24, 2024
1 parent 87b6589 commit 70d9c61
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/iac/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ variable "email_ses_access_key_id" {}
variable "email_ses_secret_access_key" {}

locals {
namespace = "fabric-stg"
namespace = "demeter-global"
replicas = 1
broker_urls = "redpanda-0.fabric-queue.demeter.run:31092,redpanda-1.fabric-queue.demeter.run:31092,redpanda-2.fabric-queue.demeter.run:31092"
secret = var.secret
kafka_rpc_username = "rpc-stg"
kafka_rpc_username = "rpc"
kafka_rpc_password = var.kafka_rpc_password
kafka_topic = "events-stg"
kafka_topic = "events"
auth0_client_id = var.auth0_client_id
auth0_client_secret = var.auth0_client_secret
auth0_audience = var.auth0_audience
Expand All @@ -52,19 +52,13 @@ locals {
email_ses_verified_email = "[email protected]"
}

resource "kubernetes_namespace_v1" "fabric_namespace" {
metadata {
name = local.namespace
}
}

module "fabric_rpc" {
source = "../../../fabric/bootstrap/rpc"

namespace = local.namespace
image = var.rpc_image
broker_urls = local.broker_urls
consumer_name = "rpc-stg-ahid01"
consumer_name = "rpc-stg-ahid02"
kafka_username = local.kafka_rpc_username
kafka_password = local.kafka_rpc_password
kafka_topic = local.kafka_topic
Expand All @@ -78,6 +72,6 @@ module "fabric_rpc" {
email_ses_access_key_id = local.email_ses_access_key_id
email_ses_secret_access_key = local.email_ses_secret_access_key
email_ses_verified_email = local.email_ses_verified_email
url_prefix = "rpc-stg"
url_prefix = "rpc"
}

0 comments on commit 70d9c61

Please sign in to comment.