Skip to content

Commit

Permalink
bump image for ui deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerthome committed Oct 23, 2024
1 parent c7b38ea commit c869dbc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions terraform-incubator/home-unite-us/dev/cognito.tf
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,20 @@ resource "aws_cognito_user_pool_domain" "homeuniteus" {
### TODO: discuss secrets injection and Google integration with devops team
resource "aws_cognito_identity_provider" "google_client" {
user_pool_id = aws_cognito_user_pool.homeuniteus.id

provider_name = "Google"
provider_type = "Google"

provider_details = {
authorize_scopes = "email profile openid"
client_id = data.aws_secretsmanager_secret_version.google_client_id.secret_string
client_secret = data.aws_secretsmanager_secret_version.google_secret.secret_string
# attributes_url = "https://people.googleapis.com/v1/people/me?personFields="
# attributes_url_add_attributes = "true"
# authorize_url = "https://accounts.google.com/o/oauth2/v2/auth"
# oidc_issuer = "https://accounts.google.com"
# token_request_method = "POST"
# token_url = "https://www.googleapis.com/oauth2/v4/token"
attributes_url = "https://people.googleapis.com/v1/people/me?personFields="
attributes_url_add_attributes = "true"
authorize_url = "https://accounts.google.com/o/oauth2/v2/auth"
oidc_issuer = "https://accounts.google.com"
token_request_method = "POST"
token_url = "https://www.googleapis.com/oauth2/v4/token"
}

attribute_mapping = {
Expand All @@ -226,6 +227,7 @@ resource "aws_cognito_identity_provider" "google_client" {
picture = "picture"
username = "sub"
}

}

resource "aws_cognito_user_pool_client" "homeuniteus" {
Expand Down
2 changes: 1 addition & 1 deletion terraform-incubator/home-unite-us/dev/ecs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "aws_ecs_task_definition" "homeuniteus" {
}]
essential = true
# image = "035866691871.dkr.ecr.us-west-2.amazonaws.com/homeuniteus:20241017.1"
image = "035866691871.dkr.ecr.us-west-2.amazonaws.com/homeuniteus:20241022.2"
image = "035866691871.dkr.ecr.us-west-2.amazonaws.com/homeuniteus:20241022.3"
logConfiguration = {
logDriver = "awslogs"
options = {
Expand Down

0 comments on commit c869dbc

Please sign in to comment.