diff --git a/infra/module/1-cloud-run.tf b/infra/module/1-cloud-run.tf index 0409554..436d0d5 100644 --- a/infra/module/1-cloud-run.tf +++ b/infra/module/1-cloud-run.tf @@ -40,7 +40,7 @@ resource "google_cloud_run_service" "default" { name = "COGNITO_CLIENT_SECRET" value = var.aws_cognito_client_secret } - env { # todo pass url of cloud run service + env { name = "COGNITO_REDIRECT_URI" value = var.aws_cognito_redirect_url } @@ -64,10 +64,9 @@ resource "google_cloud_run_service" "default" { name = "REDIS_TTL" value = var.redis_ttl } - # Optional: Adjust CPU and memory allocations for cost optimization resources { limits = { - cpu = "1" # 0.5 vCPUs, adjust as needed + cpu = "1" memory = "2Gi" # 256 MB, adjust as needed } } diff --git a/infra/module/4-cognito.tf b/infra/module/4-cognito.tf index 7514a8f..98cd53d 100644 --- a/infra/module/4-cognito.tf +++ b/infra/module/4-cognito.tf @@ -63,7 +63,7 @@ resource "aws_cognito_user_pool_client" "client" { } resource "aws_cognito_user_pool_domain" "domain" { - domain = "redjingles1112" # Replace with your desired domain prefix + domain = "redjingles" user_pool_id = aws_cognito_user_pool.cognito_pool.id }