diff --git a/infrastructure/terraform/components/branch/module_amplify_branch.tf b/infrastructure/terraform/components/branch/module_amplify_branch.tf index a3883b7..ddb1099 100644 --- a/infrastructure/terraform/components/branch/module_amplify_branch.tf +++ b/infrastructure/terraform/components/branch/module_amplify_branch.tf @@ -10,6 +10,7 @@ module "amplify_branch" { description = "Amplify branch for ${local.normalised_branch_name}" amplify_app_id = local.iam.amplify["id"] branch = var.branch_name + display_name = local.normalised_branch_name environment_variables = { USER_POOL_CLIENT_ID = local.iam.cognito_user_pool_client["id"] NOTIFY_SUBDOMAIN = var.environment diff --git a/infrastructure/terraform/components/iam/module_amplify_branch.tf b/infrastructure/terraform/components/iam/module_amplify_branch.tf index ec7462d..7b936a8 100644 --- a/infrastructure/terraform/components/iam/module_amplify_branch.tf +++ b/infrastructure/terraform/components/iam/module_amplify_branch.tf @@ -1,6 +1,7 @@ module "amplify_branch" { source = "git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/amp_branch?ref=v1.0.0" name = "main" + display_name = "main" aws_account_id = var.aws_account_id component = var.component environment = var.environment