Skip to content

Commit

Permalink
feat: add docker repo for utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperHG90 committed Feb 17, 2024
1 parent eca91b9 commit b1461a8
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion infra/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module "naming_main" {
var.environment
]
resource_short_names = [
"dags", "artifactregistrywriter", "postgres"
"dags", "utilities", "artifactregistrywriter", "postgres"
]
}

Expand All @@ -56,6 +56,14 @@ resource "google_artifact_registry_repository" "docker_registry" {
format = "DOCKER"
}

resource "google_artifact_registry_repository" "docker_utils_registry" {
provider = google-beta
location = var.gcp_region
repository_id = module.naming_main.artifact_registry["utils"]
project = var.gcp_project
format = "DOCKER"
}

module "gke" {
source = "./modules/kubernetes"
project_short_name = var.project_short_name
Expand Down

0 comments on commit b1461a8

Please sign in to comment.