Skip to content

Commit

Permalink
moving cognito creation to dev for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseybeck committed May 18, 2024
1 parent 0551620 commit 23ccd4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions terraform-incubator/people-depot/dev/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@ module "dev" {
container_image = "035866691871.dkr.ecr.us-west-2.amazonaws.com/people-depot-backend-dev:latest"
}

module "cognito" {
source = "../../../terraform-modules/cognito"

region = "us-west-2"
user_pool_name = "people-depot-user-pool"
client_name = "people-depot-client"
}

moved {
from = module.ecr.aws_ecr_repository.this
to = module.dev.module.people_depot.module.ecr.aws_ecr_repository.this
Expand Down
8 changes: 0 additions & 8 deletions terraform-incubator/people-depot/project/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,6 @@ module "people_depot" {
root_db_password = var.root_db_password
}

module "cognito" {
source = "../../../terraform-modules/cognito"

region = "us-west-2"
user_pool_name = "people-depot-user-pool"
client_name = "people-depot-client"
}

variable "root_db_password" {
type = string
description = "root database password"
Expand Down

0 comments on commit 23ccd4c

Please sign in to comment.