Skip to content

Commit

Permalink
CCM-6250: Update modules to point to public github repo
Browse files Browse the repository at this point in the history
  • Loading branch information
sidnhs committed Aug 23, 2024
1 parent 8b02169 commit 1bd4cde
Showing 1 changed file with 9 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
module "amplify_branch" {
source = "../../modules/amp_branch"

source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/amp_branch?ref=v1.0.0"
name = local.normalised_branch_name
aws_account_id = var.aws_account_id
component = var.component
environment = var.environment
project = var.project
region = var.region
group = var.group

cognito_user_pool_client_id = local.iam.cognito_user_pool_client["id"]
cognito_user_pool_identity_provider_names = local.iam.cognito_user_pool["identity_providers"]
amplify_app_id = local.iam.amplify["id"]
branch = var.branch_name
domain_name = local.root_domain_name
subdomain = var.environment
base_path = "/auth~${local.normalised_branch_name}"
description = "Amplify branch for ${local.normalised_branch_name}"
amplify_app_id = local.iam.amplify["id"]
branch = var.branch_name
environment_variables = {
USER_POOL_CLIENT_ID = local.iam.cognito_user_pool_client["id"]
NOTIFY_SUBDOMAIN = var.environment
NEXT_PUBLIC_BASE_PATH = "/auth~${local.normalised_branch_name}"
}
}

0 comments on commit 1bd4cde

Please sign in to comment.