Skip to content

Commit

Permalink
✨ tf for cloudrun
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Apr 13, 2024
1 parent df41dca commit 1183844
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions envs/dev/cloudrun.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
resource "google_cloud_run_service" "cloudrun-dev-main-backend" {
name = "dev-main-backend"
location = var.region

template {
spec {
containers {
image = "asia-northeast1-docker.pkg.dev/${var.project_id}/dev-main/backend"
}
}
}

traffic {
percent = 100
latest_revision = true
}
}

0 comments on commit 1183844

Please sign in to comment.