Investigate deployment failures 2024/04/09
Problem to solve
Investigate deployment failures starting on 2024/04/09
- https://gitlab.com/gitlab-com/gl-infra/platform/runway/deployments/ai-gateway/-/jobs/6582331352
- https://gitlab.com/gitlab-com/gl-infra/platform/runway/deployments/ai-gateway/-/jobs/6587409677
╷
│ Error: Error updating Service "projects/gitlab-runway-staging/locations/us-east1/services/ai-gateway": googleapi: Error 400: Violation in UpdateServiceRequest.service.traffic[1].revision: must be specified if and only if traffic type is TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION.
│ Details:
│ [
│ {
│ "@type": "type.googleapis.com/google.rpc.BadRequest",
│ "fieldViolations": [
│ {
│ "description": "must be specified if and only if traffic type is TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION.",
│ "field": "Violation in UpdateServiceRequest.service.traffic[1].revision"
│ }
│ ]
│ }
│ ]
│
│ with google_cloud_run_v2_service.runway_service,
│ on main.tf line 107, in resource "google_cloud_run_v2_service" "runway_service":
│ 107: resource "google_cloud_run_v2_service" "runway_service" {
│
╵
Error: failed to execute terraform command: exit status 1
Proposal
Further details
Links / references
Edited by Tan Le