Skip to content

Commit

Permalink
externalize application name
Browse files Browse the repository at this point in the history
  • Loading branch information
caetano-colin committed May 15, 2024
1 parent a963b03 commit e30ae29
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 4-projects/modules/ml_infra_projects/artifacts_project.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module "app_infra_artifacts_project" {
]
# Metadata
project_suffix = var.artifacts_project_suffix
application_name = "app-infra-artifacts"
application_name = var.artifacts_application_name
billing_code = var.billing_code
primary_contact = var.primary_contact
secondary_contact = var.secondary_contact
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module "app_service_catalog_project" {
]
# Metadata
project_suffix = var.service_catalog_project_suffix
application_name = "app-infra-ml"
application_name = var.service_catalog_application_name
billing_code = var.billing_code
primary_contact = var.primary_contact
secondary_contact = var.secondary_contact
Expand Down
12 changes: 12 additions & 0 deletions 4-projects/modules/ml_infra_projects/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -189,3 +189,15 @@ variable "service_catalog_project_suffix" {
type = string
default = "service-catalog"
}

variable "service_catalog_application_name" {
description = "Service Catalog application name metadata."
type = string
default = "app-infra-catalog"
}

variable "artifacts_application_name" {
description = "Artifacts application name metadata."
type = string
default = "app-infra-artifacts"
}

0 comments on commit e30ae29

Please sign in to comment.