Skip to content

Commit 1fc4545

Browse files
committed
CCM-6250: add display name
1 parent a29a6ac commit 1fc4545

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

infrastructure/modules/amp_branch/amplify_branch.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ resource "aws_amplify_branch" "main" {
22
app_id = var.amplify_app_id
33
description = var.description
44
branch_name = var.branch
5-
display_name = var.name
5+
display_name = var.display_name
66
enable_pull_request_preview = var.enable_pull_request_preview
77
enable_auto_build = var.enable_auto_build
88
stage = var.stage

infrastructure/modules/amp_branch/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ variable "branch" {
7575
type = string
7676
}
7777

78+
variable "display_name" {
79+
description = "The display name of the branch app being deployed"
80+
type = string
81+
default = null
82+
}
83+
7884
variable "enable_auto_build" {
7985
type = bool
8086
description = "Enable the auto build of the branch code as well as just the resources for it"

0 commit comments

Comments
 (0)